• AVR Freaks

Hot!HARMONY weird phenomenon in SPI EEPROM Developer's Help Example

Author
LamdaElectronics
Assembly_For_Ever
  • Total Posts : 78
  • Reward points : 0
  • Joined: 2010/07/23 04:04:41
  • Location: Hellas-Greece
  • Status: offline
2019/12/23 01:47:02 (permalink)
0

HARMONY weird phenomenon in SPI EEPROM Developer's Help Example

We have built our own board based on PIC32MX795F512L and this device is in production. We've upgraded the device installing an SPI EEPROM chip. I've managed to get things going on the SPI EEPROM communications. As the next step, I've integrated this code to my project. Testing my new device I've realised that when the microcontroller is saving any data bytes in the following  addresses: 
3F,7F,BF,FF and 13F,17F,1BF,1FF also 23F,27F,2BF,2FF (and I assume this will go on up until the end of the EEPROM space),
there is no saving taking place. The contents are NOT changing at all. I've tested three (3) different EEPROM chips (M951258) on two (2) different boards. Any ideas why this is happening?
Thank you Guys
 
PIC32MX795F512L, MPLABX v.5.05, XC32 v.2.2, Harmony 2.06, EEPROM M951258
#1

1 Reply Related Threads

    LamdaElectronics
    Assembly_For_Ever
    • Total Posts : 78
    • Reward points : 0
    • Joined: 2010/07/23 04:04:41
    • Location: Hellas-Greece
    • Status: offline
    Re: HARMONY weird phenomenon in SPI EEPROM Developer's Help Example 2020/04/29 04:42:57 (permalink)
    0
    SOLUTION:
    There is a logic bug in the examples provided by Microchip (both in the ..\app\driver\spi\serial_eeprom and in the SPI EEPROM Developer's Help Example). They don't take into account the "page size"!
    #2
    Jump to:
    © 2020 APG vNext Commercial Version 4.5