newbie post - using NNDK-SB70LC-KIT without uC/OS
Posted: Fri Sep 23, 2011 10:35 pm
Hi, I am very much aware of the power of uC/OS, and am enjoying playing with my first NNDK-SB70LC-KIT. All is well. However the legacy code (with sparse documentation) I have been given to port onto the ColdFire 5270 processor that will have to interact with a SPI based sensor, was written about 10 years ago in a monolithic C program with a few function calls - essentially *.c, *.h and linked libraries.
I will have to later convert this code to run under uC/OS, but for now, I wish to perform validation of the legacy code, where I would like to simply compile and run it as a single executable (no other) on the SB70LC board, to verify SPI/Serial communication and potentially the processing algorithm and a few digital I/O pins to output to a nearby LCD panel about its operation, or perhaps leave it as a serial output for convenience.
May I ask for recommendations on:
By the way, isn't there a generic boot loader process for this cpu? Is that documentation explained in Netburner files w.r.t uC/OS, or do we have to look at the Coldfire docs ?
my apologies for this first, really difficult query, but at least it is an interesting one for all of you I hope.
Alternatively, is porting a legacy C code to the uC/OS environment well explained somewhere?
Thank you and Regards!
I will have to later convert this code to run under uC/OS, but for now, I wish to perform validation of the legacy code, where I would like to simply compile and run it as a single executable (no other) on the SB70LC board, to verify SPI/Serial communication and potentially the processing algorithm and a few digital I/O pins to output to a nearby LCD panel about its operation, or perhaps leave it as a serial output for convenience.
May I ask for recommendations on:
- Is the stock SB70LC delivered loaded with uC/OS ? Can it be erased?
- Can I reload uC/OS again if it erased? Where would I get this executable?
- Can I use the NNDK to complile a single non-uC/OS executable?
- If not, can I use straight GNU to develop for the 5270 target?
By the way, isn't there a generic boot loader process for this cpu? Is that documentation explained in Netburner files w.r.t uC/OS, or do we have to look at the Coldfire docs ?
my apologies for this first, really difficult query, but at least it is an interesting one for all of you I hope.
Alternatively, is porting a legacy C code to the uC/OS environment well explained somewhere?
Thank you and Regards!