Search Results

Search results 1-12 of 12.

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Hi, In my opinion, flash algo elf will be loaded when trying to connect your board by jlink. So I wonder with your forementioned, if jlink connected with your board successfully or not.

  • Hi Stephan, Since Segger said that for any operations, a Init() and Uninit() pair will be called. So for your question, do you find even an Init() is called before the SEGGER_Open_read()? For my question, I have already suggested that before programming external NorFlash, they need to erase manually.

  • Hi Stephan, I've now have made flash algo work. But it seems we need to erase manually in JFlash before every time programming external NorFlash. Do you have the same issue? Thank you.

  • Hi segger, I have a question here. There is no need to erase internal norflash before programming it, but when JFlash is used to program exernal NorFlash, it seems we need to erase it first before programming. Is there a way we can program external NorFlash as the same as programming the internal NorFlash? I know you cannot do anything in our own customized flash algo. I guess, when we do program internal NorFlash, JFlash.exe give a hand to do erase for us. Since we have implemented EraseSector(…

  • Hi, Thank you Stephan. Appreciate your help.

  • Hi, Yes, I see what you post previously. Actually, I'm recently working on flash loader customization, and some elf size optimization issues are encountered. with you mentioned you're using default settings in mind. It seems I maybe make some mistake unconsciously. Do you mind share your elf and map with me if you're in convenience please? Thank you.

  • Hi Sir, Do you mind sharing the emProject suffix file with me please? It's in the root of the source code of open flash loader. I'm not encouter JFlash loading flash algo elf failed after do the elf size optimization. Thank you for your kindness.

  • Hello segger, I recently work on customizing open flash loader for our development on STM32L4R9ZI. From your wiki, we can get an idea how to implement the functions labeled as mandatory, and optional. But We does not have a clue that how to optimize the elf size. We don't know to make JFlash load flash algo elf, what the mandatory rules we must obey. We are now working to minimize the flash algo elf size, like options below: 0. Code > Linker > Strip Symbols 1. Code > Linker > Strip Debug Informa…

  • let's go a litter futher, I'm not sure if you've read below in STM32 reference manual. /****************************************************************************************************** RM0432 19.4.6 OCTOSPI busy bit and abort functionality • Once the OCTOSPI starts an operation with the external device, the BUSY bit is automatically set in the OCTOSPI_SR. • In indirect mode, the BUSY bit is reset once the OCTOSPI has completed the requested command sequence and the FIFO is empty. • In auto…

  • Hi maxim, A few questions here 1. if memory-map read is supported, is it necessary to implement verify()? 2. in your init() memorymap mode maybe enabled, but I don't find you do the memorymap mode disabling in Uninit() should the enable and disable be present in pair, right? 3. you have #define SUPPORT_SEGGER_OPEN_READ (1) but the following code appears #if SUPPORT_NATIVE_READ_FUNCTION int SEGGER_OPEN_Read(U32 Addr, U32 NumBytes, U8 *pDestBuff) is it a typo? for the problem we both encounter, yo…

  • hi Maxim, Thank you for you kind. And one more question, have you ever encounter the issue that STM32L4R9 OSPI memory-map read the whole exernal NorFlash, like whole 16MB, errors will come up for the last few bytes, like 0x90FFFFFA to 0x90FFFFFF, memory-map read will cause excetpion. so a workaround, when the memory-map flash pointer points to an address that is larger than 0x90FFFFFA, I will cancel the read, with __DSB(), and OSPI abort API. and then reconfigure the OSPI controller. but for thi…

  • Hi MaximHunko, Glad to meet you here, and I'm working on this open flash loader too for our products. I saw you've done a lot on the open flash loader. If you don't mind, could you share some insensitive source code with me please? For the external nor flash with JLink, often some unexpected programming or verifying error comes up. To fix it, we only could erase the whole external nor flash, and do the programming again. Also, some last bytes in the external nor flash cannot be read out from the…