Hi,
Currently, I can flash the boot loader (in .\ti\C6748_StarterWare_1_20_04_01\binary\c674x\cgt_ccs\c6748\lcdkC6748\bootloader\Debug) and application code timercounter(based on .\ti\C6748_StarterWare_1_20_04_01\build\c674x\cgt_ccs\c6748\lcdkC6748\timer) and boot from flash successfully. I can see the timer decreased in Tera Term. My purpose is to develop my own boot loader.I tried to run boot loader code in StrarerWare ( .\ti\C6748_StarterWare_1_20_04_01\build\c674x\cgt_ccs\c6748\lcdkC6748\bootloader)with emulator, it jump to the timer application code when it reached below statements.
/* Giving control to the application */
appEntry = (void (*)(void)) entryPoint;
(*appEntry)( );
When it jump to the timer application, I can see the timer decreased in Tera Term, but cannot see the code in CCS (as below figure shows "No source available for..."). Is it right? If so, does it mean I can only verify if the application code copied from flash is correct by view memory?
Another question.
I create a tiny project. The Main function is defined as below. I can see the output "Hello World!" when I am using emulator to debug this project. Then I generated the binary file by out2rprc.exe and flash it by flash writer (sfh_OMAP-L138.exe). After flashing, I run StaterWare bootloader code with emulator, I cannot see any output. I'm sure the application code is copied into ram correctly. Why there is no the output "Hello World!" ?
#include <stdio.h>
/*
* hello.c
*/
void main(void) {
printf("Hello World!\n");
while(1);
}
Thanks,
Jane