Tool/software: TI-RTOS
Hello,
I am experiencing difficulties to run a simple application from Starterware for AM335x devices source code.
Since my board is a BBB I compiled (with the TI-RTOS arm-none-eabi toolchain) the application in:
/starterware-install-dir/examples/beaglebone/demo/
which have its binary file into
/starterware-install-dir//build/armv7a/gcc/am335x/beaglebone/demo
The SD boot is not a priority right now (I asked for it yesterday), since I would start to develop and being able to do something with RTOS or baremetal, so I tried to run the demo.out binary file from u-boot, but there's no way to make it run succesfully:
Press SPACE to abort autoboot in 2 seconds => fatload mmc 0 80000000 demo.out reading demo.out 887451 bytes read in 65 ms (13 MiB/s) => go 80000000 ## Starting application at 0x80000000 ... ## Application terminated, rc = 0x1
A similar problem happens when I try to run the binary file app as suggested from the TI-RTOS guideline.
Press SPACE to abort autoboot in 2 seconds => fatls mmc 0 114696 app 83028 mlo 2 file(s), 0=> fatload mmc 0 80000000 app reading app 114696 bytes read in 12 ms (9.1 MiB/s) => go 80000000 ## Starting application at 0x80000000 ... data abort pc : [<80009d28>] lr : [<9ff546bb>] reloc pc : [<608b6d28>] lr : [<808016bb>] sp : 9ef32d70 ip : 200001d3 fp : 00000002 r10: 9ffa3c20 r9 : 9ef32ed8 r8 : 9ef36290 r7 : 8002c8f0 r6 : 00000002 r5 : 80000000 r4 : 9ef36294 r3 : 80000000 r2 : 9ef36294 r1 : 00000001 r0 : 80009d1c Flags: NzCv IRQs off FIQs on Mode SYS_32 Resetting CPU ... resetting ...
What's wrong with my attempts ?
Thank you in advance.
Simon