We are testing M33 core on RZG2UL evk board.We tested rpmsg demo application given along with vlp3.0.1 BSP and it is working.After compiling blinky application in e2studio for G2UL evk blinky.elf binary is generated.Should we use JTAG only for testing applications on M33 core or is there any commands to run application from Uboot?
Section 4.3.2
Hi,Tested the same procedure but it is not working.After loading the binaries like below it doesnot show error but gpios are not toggling.dcache offfatload mmc 0:1 0x0001FF80 testing_m33_secure_vector.binfatload mmc 0:1 0x42EFF440 testing_m33_secure_code.binfatload mmc 0:1 0x00010000 testing_m33_non_secure_vector.binfatload mmc 0:1 0x40010000 testing_m33_non_secure_code.bincm33 start_debug 0x1001FF80 0x00010000dcache onThe binaries generated is showing 0 bytes is it proper/expected?-rwxrwxr-x 1 user user 84 Apr 19 11:42 testing_m33_non_secure_code.bin-rwxrwxr-x 1 user user 0 Apr 19 11:42 testing_m33_non_secure_vector.bin-rwxrwxr-x 1 user user 0 Apr 19 11:42 testing_m33_secure_code.bin-rwxrwxr-x 1 user user 0 Apr 19 11:42 testing_m33_secure_vector.bin
The binaries generated is showing 0 bytes is it proper/expected?
No the binaries show show the following.
renesas.info/.../Cortex-M33_Multi-OS_Package_Support
Hi,
rpmsg_demo binaries are working properly but blinky sample application in e2 studio for g2ul evk is not working.
is there any extra configuration required in e2 studio to generate binaries?
Did you follow the instructions in the rzg2l Getting Started Guide with Flexible Software. Section 4,7
Set the Secure and Non-secure Vector Address in the Connection Settings tab. Click the "..." button in Secure Vector Address field and select "__Secure_Vectors" from the list in the Select Symbol window. Also, click the "..." button in Non-secure Vector Address field and select "__Vectors" from the list in the Select Symbol window. These settings are for setting the address of Secure and Non-secure Vector Offset mapped in Blinky project. Please note that these addresses vary in accordance with linker settings.
Reference Sectoin 5 of the following document.
www.renesas.com/.../release-note-rzg-multi-os-package-v120
Checked vector addresses it was empty at first and "..." button was not available but we could enter the value so entered 0x0001FF80 for secure vector address and 0x00010000 for non secure vector address and compiled again still the binaries generated shows 0 bytes size.
Currently using e2 studio version is 2022-04
Hello,
Is there any update on this issue?
compiled application in windows envirornment also but generated binaries are still showing 0 bytes size
Thanks
Open file postbuild.sh in the script folder and add .text in front of the section names, e.g.:
.secure_vector => .text.secure_vector
Hi,compiled application with the changes specified but still generated binaries show 0 bytes sizebelow are the changes doneold:arm-none-eabi-objcopy -O binary -j .secure_vector ${inputfilename} ${filebody}_secure_vector.binarm-none-eabi-objcopy -O binary -j .non_secure_vector ${inputfilename} ${filebody}_non_secure_vector.binarm-none-eabi-objcopy -O binary -j .secure_code ${inputfilename} ${filebody}_secure_code.binarm-none-eabi-objcopy -O binary -j .non_secure_code -j .data ${inputfilename} ${filebody}_non_secure_code.binnew:arm-none-eabi-objcopy -O binary -j .text.secure_vector ${inputfilename} ${filebody}_secure_vector.binarm-none-eabi-objcopy -O binary -j .text.non_secure_vector ${inputfilename} ${filebody}_non_secure_vector.binarm-none-eabi-objcopy -O binary -j .text.secure_code ${inputfilename} ${filebody}_secure_code.binarm-none-eabi-objcopy -O binary -j .text.non_secure_code -j .data ${inputfilename} ${filebody}_non_secure_code.bin
Check it better. Clean and rebuild.
Have a look at the map file and the section names:
cleaned and rebuilt, but still same issue is seen.
the files will be updated only if JTAG is connected to the board?
Can we build the project without connecting and debugging using JTAG?
Of course the project can be built independently of the board.
Open the map file and search for example .text.secure_vector