Hi,
I am trying to program SPI flash device - says 25PE16 on the chip (ST part), but when using autodetect on JFlashSPI - it detects N25Q016A (Micron part). When I used autodetect, I was not able to erase or program this device, so I tried to modify project settings (changed ReadStatus to 0x05 and Status Bit position to 0x80, all details attached) and this is the only way I got it working. I saved the project and in the project file I saw, that Status Bit position was saved as 0x80. However, when I start JFlashSPI again, in the program window I see that Status Bit position returns back to 0x07. Needless to say - erasing and programming no long works (but even at this point I can see, that in project file Status Bit position is still 0x80). If I try to use this project file with command line version of JFlashSPI, it does not work as well (log file says that verification failed at the beginning of data).
This is the content of my project file:
Display All
My goal is to set up project file and use it with command line version of JFlashSPI.
Question is: is there a fix/workaround to my current problem?
Thanks!
Regards,
Martynas
I am trying to program SPI flash device - says 25PE16 on the chip (ST part), but when using autodetect on JFlashSPI - it detects N25Q016A (Micron part). When I used autodetect, I was not able to erase or program this device, so I tried to modify project settings (changed ReadStatus to 0x05 and Status Bit position to 0x80, all details attached) and this is the only way I got it working. I saved the project and in the project file I saw, that Status Bit position was saved as 0x80. However, when I start JFlashSPI again, in the program window I see that Status Bit position returns back to 0x07. Needless to say - erasing and programming no long works (but even at this point I can see, that in project file Status Bit position is still 0x80). If I try to use this project file with command line version of JFlashSPI, it does not work as well (log file says that verification failed at the beginning of data).
This is the content of my project file:
Source Code
- AppVersion = 63200
- [GENERAL]
- ConnectMode = 0
- CurrentFile = "C:\TFS\Kaunas\Husqvarna - P25 programming (18-015)\5 Kitron SW\source\SerialFlash.hex"
- DataFileSAddr = 0x00000000
- GUIMode = 0
- HostName = ""
- USBPort = 0
- USBSerialNo = 0x00000000
- [JTAG]
- Speed0 = 1000
- [FLASH]
- abID[3] = 0x20,0x80,0x15
- AutoDetect = 0x00000000
- NumDice = 0x00000001
- NumPages = 0x00002000
- PageSizeShift = 0x00000008
- SectorSizeShift = 0x00000010
- [CPU]
- NumInitSteps = 0
- NumExitSteps = 0
- [SPI]
- CmdEnter4ByteMode = 0x00
- CmdEraseBulk = 0xC7
- CmdEraseSector = 0xD8
- CmdExit4ByteMode = 0x00
- CmdReadData = 0x03
- CmdReadID = 0x9F
- CmdReadStatus = 0x05
- CmdWriteDisable = 0x04
- CmdWriteEnable = 0x06
- CmdWritePage = 0x02
- CmdWriteStatus = 0x01
- Dedicated4BAddrMode = 0x00
- NumAddrBytes = 0x03
- StatusBitPos = 0x80
- StatusIsReadyBit = 0x00
- [PRODUCTION]
- AutoPerformsErase = 1
- AutoPerformsProgram = 1
- AutoPerformsVerify = 1
- EnableTargetPower = 0
- EraseType = 3
- PerformCompare = 1
- TargetPowerDelay = 0x000000C8
My goal is to set up project file and use it with command line version of JFlashSPI.
Question is: is there a fix/workaround to my current problem?
Thanks!
Regards,
Martynas