Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

RTOS/AM5728: Toggling LED on my Custum board

$
0
0

Part Number: AM5728

Tool/software: TI-RTOS

Hello,

I would like some assistance to start coding on my custom board based on a SOC AM5728. I received the prototype boards few weeks ago, and I made some good progress in term of hardware debugging.

I already checked :

- The power supplies sequences at bootup. Everythinks looks like the recommandations

- The system boot configuration is correct. I verified the value of the boot pins in the corresponding register via FTDI emulation "CTRL_CORE_BOOTSTRAP"

The remaining tasks are (where I needs assistance):

- Test the system clock : The 20MHz oscillator is good, but I don't know how to use the clock tree tool. Does this tool generate some code?

- DDR initialisation: I filled the DDR spreadsheet according to my specific layout and the DDR datasheet. It generate some  "U-boot" and "gel file" output code but I don't know where to use it.

Actually, to begin, I just want to use the diagnostic source code "LED_TEST" provided in the PDK to manage my own LED on my boards. For this, I followed the guide and performed the followings steps:

1. Re build a custom library

- I used the pinmux tool that generated some sources files.

- I copy past the evm572x folder, renamed it as "MasterNxG" board, included the pinmux source files previously generated, and follow the procedure provided by TI

- recompiled the library to get the "ti.board.aa15fg". That's ok!

2. Re build a diagnostic Test LED specific for my board, after followed the procedure provided by TI

- I copy past the "TEST_LED" folder and modified the makefiles to fit with my board,

- I get the .out after compilation. That's ok!

After launching the target config corresponding to my board in CCS, and connect the A15_0 CPU, I load the generated .out file, I get the following error:

"CortexA15_0: File Loader: Verification failed: Values at address 0x80000000 do not match Please verify target memory and memory map.
CortexA15_0: GEL: File: C:\ti\pdk_am57xx_1_0_14\packages\ti\board\bin\MasterNxG\armv7\led_Test_diagExample_MasterNxG_armv7.out: a data verification error occurred, file load failed."

Could you please give me some assistance? I think DDR and clock config are part of the most important think to do but I don't know how.?

Thanks in advance.

Sylvain.


Viewing all articles
Browse latest Browse all 17527

Trending Articles