Re: IMX233 without Linux

506 views
Skip to first unread message

Casainho

unread,
Jun 16, 2010, 7:08:51 PM6/16/10
to Laurent Ovaert, rockboxplayer
On Thu, Jun 17, 2010 at 12:02 AM, Laurent Ovaert <sid...@msn.com> wrote:
> Hi !
>
> I saw your blog about porting Rockbox on your IMX233 board !
> Seems tough ! so good luck with it :)
>
> I have my own devboard that my friend did for me (see picture in
> attachment).
> The board seems to be alive since when I config the jumpers to boot from
> USB, the device is recognized as a USB HID device by the computer.
>
> However, I am facing an initial big issue. How to get code into the device's
> RAM, initialize SDRAM and such ?
> For my project, I don't even think I will need to use JTAG to do debugging,
> ideally I would upload the code via USB when I do debugging, but I have no
> idea how to send code via USB.
> Also, my board does not have SDCARD slot, nor NAND Flash (only 4MB SPI flash
> which is way enough for me).
>
> It look like you have been able to use JTAG ? I have not been able too :(
> The IMX233 has this weird serial JTAG lines. Do you know how to interface
> with it ?
>
> Would you have simple source code to blink a GPIO line ? :)
>
> Thanks in advance for you help,
> Laurent

Hello :-)

Well, we had being discussing all that questions on Lyre discussion
group: http://groups.google.com/group/rockboxplayer/

Join it and read all that we had written on latest weeks.

Our code is here:
http://lyre.svn.sourceforge.net/viewvc/lyre/propendous-imx233_board/firmware/

And please ask on group any question you have, maybe some of us can help you :-)

IMX233_Module.jpg

Bob

unread,
Jun 17, 2010, 1:40:16 PM6/17/10
to rockboxplayer
The "USB boot" function is just a HID device to allow connection to
bitburner, I don't think it can actually be used to transfer code to
RAM and boot or anything like that.

Did anyone get parallel JTAG to work without setting the MUX bits in
the boot code? (i.e. by setting the JTAG enables using bitburner
only). The Freescale guy said he "thought" that the iMX233 boot ROM
code would set the MUX bits if the OTP JTAG enables were set, but
wasn't sure.

I don't know of any cheap serial JTAG adaptors, so I don't think that
is an option.

If you can't use Bitburner to enable parallel JTAG, then the only
option is to program the SPI Flash with the code and boot from there.

A uSD card in the hardware design as the Flash boot device works
really well with the iMX233, but I guess that is too late for you ;)

On 17 June, 00:08, Casainho <casai...@gmail.com> wrote:
> Our code is here:http://lyre.svn.sourceforge.net/viewvc/lyre/propendous-imx233_board/f...
>
> And please ask on group any question you have, maybe some of us can help you :-)
>
>  IMX233_Module.jpg
> 279KViewDownload

Lolo926E

unread,
Jun 24, 2010, 2:45:30 PM6/24/10
to rockboxplayer
I am able to program the SPI Flash of my IMX233 board with an external
FTDI-based USB to SPI board.
The IMX233 boots from the SPI flash and I do not use JTAG so far.
I can blink an LED, I have your SDRAM test working @ 96 MHz, PWM
working, UART APP + DEBUG working so I can output text to a console
and talk to some MIDI devices.
By the way, I haven't looked yet, but is 96 MHz the maximum speed the
IMX233 can deal with its SDRAMs ?

Do you guys have any source code regarding internal codec and
streaming in/out with DMA ?

Regarding USB Boot, looking at chapter 35.9, Sigmatel implemented a
pretty smart&powerful USB boot rom where it looks like you can
download your own "plug-ins" that interface with the usb boot rom so
that you can communicate with it from the computer.
That would be a pretty neat way of downloading code to OCRAM & SDRAM
from the computer...

Would you have any information on how to achieve that ?
I might ask this question on the freescale forum as well..

Opendous Inc.

unread,
Jun 24, 2010, 8:51:43 PM6/24/10
to rockboxplayer
Good to know people are getting some use out of the project.

Supposedly the DDR might be able to work up to 167MHz:
http://forums.freescale.com/t5/i-MX-Microprocessors/iMX233-DDR-to-167MHz/m-p/55533

You should ask about the USB Boot ROM on the Freescale forum. My own
intention is to turn the i.MX233 into a Linux USB Device and add any
functionality that way. This will be more general-purpose and
reusable than code specific to the i.MX233.

If you get anything useful going please post a note about your
progress.

Casainho

unread,
Jul 9, 2010, 6:46:06 PM7/9/10
to Laurent Ovaert, rockboxplayer
On Fri, Jul 9, 2010 at 11:40 PM, Laurent Ovaert <sid...@msn.com> wrote:
Hi !

The thing is, unlike you, this project is for my company :(

Ok, sorry I forgot that.

 
There is a lot of work for me to do, audio DSP-wise, system-wise, and this has to stay proprietary to my company.
If you want to use linux, you are going to be playing on "a different ground" since like you say, you won't have to deal with the hardware..

I wish I could have more time than I have to do other projects and help you, but I really don't.

I will let you know if I have more "bare metal" examples that you can use.

Ok :-) -- see you later, I would like at least to see pictures of final product.
Reply all
Reply to author
Forward
0 new messages