emomaxd commented on issue #15916: URL: https://github.com/apache/nuttx/issues/15916#issuecomment-2715089847
I've successfully resolved the issue by adding a resource table into the ELF file, incorporating a new section in the linker script called ".resource_table," which eliminated the "Invalid Argument" error. Now, I’m facing a challenge with verifying whether NuttX has booted successfully. To address this, I decided to test the system using GPIO pins. I created a simple GPIO driver that calculates the correct address and bitmask to toggle the appropriate bit on the GPIO bank. Then, I invoked the led_blink_demo function within the arm_boot() function. However, things didn’t go as expected. The LED in question is the onboard LED connected to MAIN_GPIO0 PIN11. To control it, I modified the R5 core's working domain to the MAIN domain. This was necessary because the MCU domain does not have direct access to MAIN domain peripherals. I verified this limitation by testing with one of the examples from the TI AM67A SDK, which confirmed that the MCU domain cannot access MAIN domain peripherals. I am contemplating whether it’s possible to configure this access and plan to inquire further on the TI forum. Any thoughts on this? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org