Thanks for your rapid response Peter.
I understand now that trying to make a simple example from the PRU cape
demo using only PRU_LED0 is flawed because I then only have a _pru_ program
without the infrastructure on the arm8 to run it.
My reason for trying to use just the LED0 example was that when following
the PRU cape demo instructions I got the linking error:
*<Linking>fatal error #10183: --abi=eabi is incompatible with file
"C:/ti/pru-software-support-package/pru_cape/pru_fw/PRU_Audio/Debug/PRU_Audio_image.obj"
(TIABI v0)*
(Full listing below.)
My aim, of course, was to get a working rebuild so that I could begin
developing my own tests.
You may be wondering whether I have actually run the provided PRU cape demo
MLO and app.
I haven't because when I bought the beaglebone black I didn't realise I
needed an FTDI serial cable AND a right angle header to be able to use the
TI PRU cape and run the pru cape demo.
If I could rebuild the demo then I could modify the demo to automatically
run one of the apps on bootup e.g. blinking LED0 so that I didn't need the
cable for testing :)
Any further help appreciated.
Bryan
---------------------------------------------------------------------------------------------------------------------------------------
*'Building target: PRU_Demo.out''Invoking: ARM
Linker'"c:/ti/ccsv6/tools/compiler/arm_5.1.9/bin/armcl" -mv7A8
--code_state=32 --abi=eabi -me -O2 --define=am3359 --display_error_number
--diag_warning=225 --diag_wrap=off -z -m"PRU_Demo.map" --heap_size=0x800
--stack_size=0x800 -i"c:/ti/ccsv6/tools/compiler/arm_5.1.9/lib"
-i"c:/ti/ccsv6/tools/compiler/arm_5.1.9/include"
-i"C:/TI/AM335X_StarterWare_02_00_01_01/binary/armv7a/cgt_ccs/am335x/drivers/Release/"
-i"C:/TI/AM335X_StarterWare_02_00_01_01/binary/armv7a/cgt_ccs/utils/Release/"
-i"C:/TI/AM335X_StarterWare_02_00_01_01/binary/armv7a/cgt_ccs/am335x/beaglebone/platform/Release/"
-i"C:/TI/AM335X_StarterWare_02_00_01_01/binary/armv7a/cgt_ccs/am335x/system_config/Release/"
--reread_libs --define=A8_CORE=1 --warn_sections --display_error_number
--diag_wrap=off --xml_link_info="PRU_Demo_linkInfo.xml" --rom_model -o
"PRU_Demo.out"
"C:/ti/pru-software-support-package/pru_cape/pru_fw/PRU_Audio/Debug/PRU_Audio_image.obj"
"C:/ti/pru-software-support-package/pru_cape/pru_fw/PRU_HDQ_TempSensor0/Debug/PRU_HDQ_TempSensor0_image.obj"
"C:/ti/pru-software-support-package/pru_cape/pru_fw/PRU_HDQ_TempSensor1/Debug/PRU_HDQ_TempSensor1_image.obj"
"C:/ti/pru-software-support-package/pru_cape/pru_fw/PRU_Hardware_UART/Debug/PRU_Hardware_UART_image.obj"
"C:/ti/pru-software-support-package/pru_cape/pru_fw/PRU_LED0/Debug/PRU_LED0_image.obj"
"C:/ti/pru-software-support-package/pru_cape/pru_fw/PRU_LED1/Debug/PRU_LED1_image.obj"
"C:/ti/pru-software-support-package/pru_cape/pru_fw/PRU_Switch/Debug/PRU_Switch_image.obj"
"./pru.obj" "./pru_cape_demo.obj" "../pru_cape_demo.cmd"
-l"rtsv7A8_A_le_eabi.lib" -l"drivers.lib" -l"utils.lib" -l"system.lib"
-l"platform.lib" <Linking>fatal error #10183: --abi=eabi is incompatible
with file
"C:/ti/pru-software-support-package/pru_cape/pru_fw/PRU_Audio/Debug/PRU_Audio_image.obj"
(TIABI v0)>> Compilation failuregmake: *** [PRU_Demo.out] Error 1gmake:
Target `all' not remade because of errors.**** Build Finished *****
--------------------------------------------------------------------------------------------------------------------------
On Saturday, 6 December 2014 06:41:02 UTC+11, Peter Gregory wrote:
>
> Try running hexpru with the following command options
>
> -b
> -image
> ROMS {
> PAGE 0:
> text: o = 0x0, l = 0x1000, files={text.bin}
> PAGE 1:
> data: o = 0x0, l = 0x1000, files={data.bin}
> }
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.