On Mon, Apr 22, 2013 at 4:49 PM, Andreas Fritiofson <
[email protected]> wrote:
> On Mon, Apr 22, 2013 at 9:22 PM, [email protected] <[email protected]>wrote:
>
>> We're designing a new board that uses a MIPS based RT5350. The RT5350
>> doesn't have any ADC support so the idea is to also add a Cortex-M0 on the
>> board. The Cortex would look like an I2C device to the MIPS CPU.
>>
>> The MIPS CPU can be initialized via JTAG and it runs Linux. So is it
>> feasible to run OpenOCD on the MIPS then bit bang SWD over some GPIO to
>> initially program the flash on the Cortex?
>>
>> This is my first SWD design so I'm still figuring things out.
>>
>>
> That sounds extremely complex, considering for one thing that OpenOCD
> doesn't even officially support SWD yet.
>
> I think you would be better off selecting a Cortex-Mx µC that includes a
> boot loader in ROM. I think most do. At least I know that many, if not all,
> ST devices do. They can be programmed over a simple UART protocol, or some
> even via USB or CAN.
>
> Since you still need JTAG for the MIPS you could also pick an only
> slightly more expensive Cortex with JTAG and connect it in the chain. For
> field upgrades you could still want to have a boot loader on the Cortex, of
> course.
>
We use the LPC3130 on another board that has the ROM bootloader over UART
feature.
I was looking for something with JTAG or UART boot and I haven't identified
one in the $2.00 range. Maybe a STM32F051K4U6? I'll check out the
datasheet.
--
Jon Smirl
[email protected]
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel