OpenSDA bare metal bring up

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

OpenSDA bare metal bring up

Jump to solution
884 Views
piyushpandey
Contributor I

Hi Freescale guys

This is my very first post to this community and before posting to the community I want to tell the community a little bit more about myself.

Actually I am embedded hobbyist and love to play with various controllers. I have tried Atmel, TIs MSP430 and ST microcontroller and some 8051 variants. I do this by designing and developing my own custom boards.

Ok that's it about my self.

Now the query is:

I am pretty much excited about the Freescale microcontrollers and up to till now I am using the ST microelectronics controller (as mentioned above). They provide too much in less amount and also their development tools are affordable especially debugger ST-Link.

But now I also want to try freescale products and for that I wanted to create my own custom board. and what make me more eager about it is the fact its open debugger OpenSDA.

It says that put the debugger files in the microcontroller folder when it appears in the bootloader mode. So what I want to know is that if I have K20 microcontroller and design its OpenSDA schematic from reference design , than would the microcontroller would be able to enter into the bootloader mode. Do the microcontroller come up with pre-installed initial bootloader.

If no than what will be the procedure for burning that primary bootloader to it.

with warm regards

Piyush Pandey

0 Kudos
1 Solution
518 Views
BlackNight
NXP Employee
NXP Employee

Hello,

yes, you can add a K20 to your design and then use it to debug the 'master' device. We did that with the TinyK20 (but kept it on a separate board), see TinyK20 | MCU on Eclipse. See the links and material in that article series, and make sure you read "https://community.freescale.com/docs/DOC-100720​".

>>Do the microcontroller come up with pre-installed initial bootloader.

No, the K20 will come as a blank device. You need a SWD debug cable (Segger J-Link, P&E Multilink or a FRDM board (see Using the Freescale Freedom (FRDM-KL43Z) to Debug other Boards)) to program it with the initial bootloader.

I hope this helps,

Erich

View solution in original post

0 Kudos
1 Reply
519 Views
BlackNight
NXP Employee
NXP Employee

Hello,

yes, you can add a K20 to your design and then use it to debug the 'master' device. We did that with the TinyK20 (but kept it on a separate board), see TinyK20 | MCU on Eclipse. See the links and material in that article series, and make sure you read "https://community.freescale.com/docs/DOC-100720​".

>>Do the microcontroller come up with pre-installed initial bootloader.

No, the K20 will come as a blank device. You need a SWD debug cable (Segger J-Link, P&E Multilink or a FRDM board (see Using the Freescale Freedom (FRDM-KL43Z) to Debug other Boards)) to program it with the initial bootloader.

I hope this helps,

Erich

0 Kudos