Search Results

Search results 1-3 of 3.

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

  • I have implemented a Segger Open Flashloader and I have a 2MB (0x200000) external flash mapped to base address 0x00000000. In jlink, when I do a savebin f.bin 0x00000000, 0x200000, I have found that it won't read more than 1MB. I have implemented the SEGGER_OPEN_Read() function. After I was getting this error, I did a test by doing the read function as follows: int SEGGER_OPEN_Read( U32 Addr, U32 NumBytes, U8 * pDestBuff ) { return NumBytes; } Now I still get exactly the same error. I have attac…

  • So to be quite specific, I have: “… SEGMENTS: Type Offset Virtual Physical File Sz Mem Sz Flags Align ---- ------ ------- -------- ------- ------ ----- ----- 0: load 0x34 0x2000'0000 0x2000'0000 0x10a0 0x10a0 0x4 R 0x4 1: load 0x10d4 0x2000'2000 0x2000'2000 0x120 0x120 0x4 R 0x4 2: load 0x11f4 0x2000'2340 0x2000'2340 0x400 0x400 0x4 R 0x4 3: load 0x15f4 0x2000'2740 0x2000'2740 0x1f46 0x1f46 0x5 X R 0x4 SECTIONS: Name Type Addr Offset Size Aln Lnk Inf ESz Flags ---- ---- ---- ------ ---- --- --- …

  • I'm implementing an open loader (actually I had it working on the ST-Link debugger but that sw has bugs) and I'm using IAR EWARM. I see the wiki page for the open loader specifies that all the code should be in a section called PrgCode and all program data should be in a section called PrgData. I have all my Init() functions and friends implemented and my struct FlashDevice filled out etc. I'm getting an error when loading the openloader in jlink "****** Error: Error while loading flash algo ELF…