Hello!
I'm using custom flash loader to read/write external flash/eeprom for my target device. The Flash loader is implemented according to wiki page: wiki.segger.com/Open_Flashloader
It works fine for read/write/erase operation if I use JFlash.exe application. So I can be sure, my custom loader is OK.
But for automation goals I use custom scripts to communicate with j-link through DLL:
To write data I use following sequence of DLL calls:
________________________________________________
SEGGER-Fabian Redacted:
J-Link SDK topics are not to be discussed in public.
If you are in valid support period for the SDK, please open a support ticket:
segger.com/support/technical-support/
________________________________________________
It works fine and I can confirm the expected data is stored to external flash.
To read data I use following sequence of DLL calls:
________________________________________________
SEGGER-Fabian Redacted:
J-Link SDK topics are not to be discussed in public.
If you are in valid support period for the SDK, please open a support ticket:
segger.com/support/technical-support/
________________________________________________
The *snip* function returns me data from internal storage of MCU and I can see my `SEGGER_OPEN_Read` function is not called.
The question is:
What is correct sequence of DLL calls to read memory back using custom flash loader?
I'm using custom flash loader to read/write external flash/eeprom for my target device. The Flash loader is implemented according to wiki page: wiki.segger.com/Open_Flashloader
It works fine for read/write/erase operation if I use JFlash.exe application. So I can be sure, my custom loader is OK.
But for automation goals I use custom scripts to communicate with j-link through DLL:
To write data I use following sequence of DLL calls:
________________________________________________
SEGGER-Fabian Redacted:
J-Link SDK topics are not to be discussed in public.
If you are in valid support period for the SDK, please open a support ticket:
segger.com/support/technical-support/
________________________________________________
It works fine and I can confirm the expected data is stored to external flash.
To read data I use following sequence of DLL calls:
________________________________________________
SEGGER-Fabian Redacted:
J-Link SDK topics are not to be discussed in public.
If you are in valid support period for the SDK, please open a support ticket:
segger.com/support/technical-support/
________________________________________________
The *snip* function returns me data from internal storage of MCU and I can see my `SEGGER_OPEN_Read` function is not called.
The question is:
What is correct sequence of DLL calls to read memory back using custom flash loader?