Hello Folks,
As mentioned in the title, my environment and hardware are normal, because when the size of the downloaded fip.bin file is small (for example, within 100KB), the download is successful, but when the fip.bin file is large (for example, 146KB), the following error message will be reported. mistake. Disconnect ads and try again and still get an error.
Is this a bug in the ads software? I used jlink to download the same bin, and the download, verification, and operation were all normal. Once again, it proved to be a bug in ads or a misconfiguration somewhere?Thanks
The download command is as follows: restore X:\build\fip.bin binary 0x00080000
download 146KB bin file:ads 2023.0 report error
download 101KB bin file:everything is normal
Software version:
Hello,
I cannot replicate this - can you share which device you are using?
Is the issue related to how this memory is accessed? You could use the `memory` command to define the access mode (eg 8-bit accesses).I don't know, but perhaps that is what J-link uses?
developer.arm.com/.../memory
Hi againTo which type of processor is the "restore" command operating? Is it the A55 or a Cortex-M-class processor?In the script, please try adding an "AHB:" prefix to the address being restored, e.g.:restore X:\build\fip.bin binary AHB:0x00080000This will result in the memory being accessed directly by DSTREAM, rather than accessing memory via the processor.You might need to tweak the AHB parameter (e.g. "AHB_0:" instead of "AHB:") depending on the buses that are present.Use the "info memory" command to tell you which memory spaces are available and which AHB parameter to use.Stephen
Hi againTo follow-up on this issue, some good news!We've identified a problem with Arm DS 2023.0 and earlier when "restore"-ing images larger than 128K to M-class devices. A workaround is to use an address-space prefix such as AHB:0x...This issue is now fixed in Arm DS 2023.1.Stephen