OpenSDA Source code

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

OpenSDA Source code

跳至解决方案
8,403 次查看
pgo
Senior Contributor V

Hi All,

Does anyone know if the source code for the OpenSDA software is available?  Or failing this, a specification of the SDA format to create a compatible module for loading on the KL25 Freedom board?

A search shows quite a few references but they all seem to be rather thin on technical details.

Thanks.

标记 (2)
1 解答
4,162 次查看
JimDon
Senior Contributor III

According to P&E:

"We (via Freescale) are planning a release in the next couple of weeks which has an open source version of the bootloader as well as a sample application which can be loaded into the OpenSDA design (a small data logger application)."

--Jim

在原帖中查看解决方案

0 项奖励
回复
11 回复数
4,162 次查看
rogerzhong
Contributor III

Yes. You can find the source code for OpenSDA on ARM.com website, which is part of CMSIS-DAP.

0 项奖励
回复
4,162 次查看
pgo
Senior Contributor V

Hi Roger,

Can you give a direct reference for the Source code?

The only references I can find are explaining how to use OpenSDA with Keil.

There is a mention that the actual OpenSDA firmware is available from the the Chip vendors rather than ARM.  This makes sense since it would be dependent on the hardware e.g. USB interface implementation not just the ARM core.  It is also consistent with the posting by Jim.

bye

0 项奖励
回复
4,162 次查看
rogerzhong
Contributor III

You need to register a silver account ID on ARM.com website, then search the CMSIS-DAP, download the code samples for CMSIS-DAP which also includes the OpenSDA source code.

4,162 次查看
JimDon
Senior Contributor III

Obviously, I would tend to agree with pgo - the OpenSDA from ARM is really a spec for the host software to talk to the SDA and the code you get from ARM will not be vendor specific.

ARM, for example, does not specify how the USB module should work for hardware.

ARM specs the NVIC, the SysTick, the IO set up registers (but NOT what the ALT functions would be) and some other generic hardware things, but the vendors add their own specific IO functions.

Most likely P&E will not release their code for the OpenSDA debugger debugging part - as Open really means the spec is open.

Update:

I downloaded CMSIS-DAP Beta 0.01 from the ARM web site, and there an Keil MDK project there to build what appears to be OpenSDA. (You can download and use MDK for upto 32K for free).

Give it a try, who knows?

4,162 次查看
pgo
Senior Contributor V

Thanks Roger & Jim,

I have finally located the CMSIS-DAP Beta 0.01!

It appears to be a skeleton design with one concrete implementation for LPC43xx device but it's a good starting point.

However I am now a bit confused about exactly what it includes.

Is the bootloader function on the KL25 board part of OpenSDA or is it just the debug implementation that you can download to the device?

Hopefully this will become clear with some investigation of the downloaded Firmware.

bye

Update:

The CMSIS-DAP Beta does include a MK20 project unfortunately it appears to not be possible to build it using the Free version of the KEIL tools.

I get an error: 

L9937E: RL_ARM is not allowed with this license. Apparently RL_ARM = RealView® Real-Time Library (RL-ARM).

It is likely to be the RL-USB component.

bye

0 项奖励
回复
4,162 次查看
mnorman
NXP Employee
NXP Employee

OpenSDA consists of the hardware design, the software Bootloader and the Applications.  CMSIS-DAP is just one of the OpenSDA Applications.  The firmware release from ARM includes a port to OpenSDA and specifically the Kinetis K20. CMSIS-DAP is supported by Keil MDK. 

Additional OpenSDA Applications include the P&E Debug Application (supported by CodeWarrior, IAR, Keil, and more) and the MSD Flash Programmer.  There are more in the works including an open sourced data logger application.

4,162 次查看
pgo
Senior Contributor V

Hi,

Following up on the above - Is the OpenSDA specification and example project available yet?

AFAIK the software available from ARM does not include either of the above

Thanks

0 项奖励
回复
4,163 次查看
JimDon
Senior Contributor III

According to P&E:

"We (via Freescale) are planning a release in the next couple of weeks which has an open source version of the bootloader as well as a sample application which can be loaded into the OpenSDA design (a small data logger application)."

--Jim

0 项奖励
回复
4,162 次查看
rogerzhong
Contributor III

When will the open source boot loader be available?

0 项奖励
回复
4,162 次查看
andrewpayne
Contributor II

Any update on when the source is being released (or at least a demo app)? 


Thanks!

-andy

0 项奖励
回复
4,162 次查看
pgo
Senior Contributor V

Hi JIm,

Thanks for the information.

bye

0 项奖励
回复