Hi all,
I have got quite a few hours in this problem but still can't get it solved.
This is the situation. A custom IMX RT1010 board will be put into a fixture where probes are connecting to the SWD port (and others).
The SWD port is then connected to a MCULink probe, which is connected to an Odroid (ARM64) as the "host".
The host runs teststeps and one of the first step is to write a program to the board's flash. This is what I already tried:
- Sysprogs openOCD with (custom) flashloader, however the openOCD version of sysprogs is not made for Linux (issue #14)
- Linkserver, but there is no ARM64 version (already had contact with NXP expert)
- pyocd with evkmimxrt1010_flashloader binary as flashloader, but when reporting the flash it does not recognize imxrt flash driver.
Long story short I am running out of ideas on how to program my flash through the SWD port of the IMXRT1010. It shouldn't be so hard to do right?
I mean, MCUXpresso also uses a flashdriver, MIMXRT1010_SFDP_QSPI.cfx (elf) but this also does not seem to work.
With OpenOCD I did manage to get a connection to the CPU and I am also able to halt, run reset etc. Even setting the QE bit in the flash is done. But without a proper flashloader, the same error remains: error writing at address 0x60000000.
So here I am reaching out, hoping somebody else can give some more pointers where to search, maybe some help on a flashdriver solution...
Any help is highly appreciated!
Thanks,
Marcel
Hi @MKlem ,
The MCUXpresso IDE has Linux version for 64bit, did you try this before?
Have a great day,
Kan
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------