I am thinking of developing a board using the STR9 series of chips from ST Micro and was wondering if the OpenOCD software/hardware supported the flash on the STR9XX micros. I see that it supports the core, but I am unsure of the flash.
the flash on STR9 microcontrollers isn’t supported yet. Spencer Oliver who contributed the STR9 code told me his working on it, but I guess it’s not done yet.
I’ll put an announcement on the OpenOCD homepage once this work is finished.
the flash on STR9 microcontrollers isn’t supported yet. Spencer Oliver who contributed the STR9 code told me his working on it, but I guess it’s not done yet.
I’ll put an announcement on the OpenOCD homepage once this work is finished.
Regards,
Dominic
Any luck yet? I ‘finally’ got my board in, and realised that I can’t program the flash through the serial port (I don’t know where I came up with the idea that I could… I must have got confused with the SAM chips where you can program them through the USB/Serial debug port) so basicly I have a devel board I can’t do anything with yet
Thanks,
Mike
PS as soon as I get one of the FTDI based things (assuming I can use that in windows? If not ill just do all my devel in Linux and dump the keil compiler) I will be glad to test! Not that I have any choice LOL.
I just got me the Luminary Micro eval kit, which also acts like a JTAG programmer, I may try and see if I can get this JTAG device to work with OpenOCD (its FT2232 based too, but the pinning is slightly different) before I go and buy the olimex USB programmer. I do not need to collect a pile of programmers!
If I do get it to work, where would I submit the patch?
The OpenOCD isn’t capable of debugging/progamming Luminary Micro’s eval kit, nor any other Cortex based microcontroller. The Cortex have a totally different debug architecture (and an at least slightly different programmer’s model, too).
The GDB that comes with Codesourcery’s ARM toolchain is supposed to be capable of talking directly to the eval kit. You’re probably better off asking about this at the Luminary forum.
But the Luminary Micro’s eval kit also has a FT2232 that puts the
Cortex processer in reset when the external jtag connector pin 20 is connected to ground. Effectively transforming the eval bord into a generic FT2232 jtag interface.
There is an DBG_JTAG_ENABLE (ADBUS7) signal to enable the buffer circuits
bteween the FT2232 and the Cortex processor/external jag connector.
So Mike will have a JTAG programmer, even though he wont be able to use OpenOcd to program the onboard processor, yet.
Actually this eval kit can be converted to a smart (fast) JTAG controller by using
the serial ftdi interface B to send data to the Cortex chip , and the let the Cortex chip
act as a JTAG master. This requires some programming and parts of OpenOcd should moved to the Cortex Chip to avoid USB roundtrip waiting times. But if I read the eval kit schematics right then it is doable, and a nice project also.
I have one of the eval kits coming in real soon and will try it as a generic OpenOcd interface against the tue and faithful SAM7S board.
That was exactly my plan. Use the LM eval kit as a JTAG adapter for the STR9 I don’t want to have to go buy a different JTAG board for each evalkit I get to play with. I am hoping that the LM kit JTAG functionality will serve me just fine. If you get it to work, please post your results here, I would love to know how well it works!
I am quite happy using the Keil tools for the LM chip ATM anyway, and you have to use them to be eligable for the contest. The Keil tools are limited to 16K but man thats plenty for a motion control app.
I am quite impressed with the Eval board actually. For the money you get alot of stuff (love the OLED) and great flexibility.
Mike
mlu:
True
But the Luminary Micro’s eval kit also has a FT2232 that puts the
Cortex processer in reset when the external jtag connector pin 20 is connected to ground. Effectively transforming the eval bord into a generic FT2232 jtag interface.
There is an DBG_JTAG_ENABLE (ADBUS7) signal to enable the buffer circuits
bteween the FT2232 and the Cortex processor/external jag connector.
So Mike will have a JTAG programmer, even though he wont be able to use OpenOcd to program the onboard processor, yet.