Page 7 of 11
Re: (SOLVED!) How to read and write mainboard Flash (Spansion S29GL)
Posted: 04 Apr 2019, 09:20
by oscarboiro
Hi, my clger segger, it worked perfectly before I had the problem of canceling the update process, I'm using the same Dupont cables, they measure 20cm.
I read the orange service connector voltage and got the following results.
pin 8 -> 3,39v
pin 9 -> 0,09v
pin 10 -> 3,39v
pin 11 -> 3,39v
pin 12 -> 3,39v
pin 13 -> 0
pin 14 -> 0
pin 15 -> 3,39v
Will I have to buy another j-tag of higher quality?
Re: (SOLVED!) How to read and write mainboard Flash (Spansion S29GL)
Posted: 04 Apr 2019, 23:38
by Stevebe
I’m only saying as I have 2 of the clones which won’t work for some reason and never did with any of my NX units,
I don’t know if others have had any problems with them, but as you say it was working fine,
I’ll try and read the voltages on my header ASAP, but I’m very busy getting my motor ready for a respray.
Re: (SOLVED!) How to read and write mainboard Flash (Spansion S29GL)
Posted: 05 Apr 2019, 04:54
by Go4IT
The voltages are okay, but doesn't matter. To see if something is wrong you need a logic analyzer. Here i can suggest a Saleae clone for about 10€. They really work and help a lot. To find electrical issues, a DSO is required.
But i'm with steveb and bet your Jlink clone is faulty, even if you said that you had problems updating it. Go and buy and genuine EDU for abput 60€, it's really worth it. For the keys to unlock to pro, ask me on PM.
Re: (SOLVED!) How to read and write mainboard Flash (Spansion S29GL)
Posted: 13 Apr 2019, 07:51
by oscarboiro
I understand, im looking to buy one,any page to buy in good price, i leek ebay but the price is around 100€
I want to buy it next month, now I have many expenses.
Thanks!!!!
Re: (SOLVED!) How to read and write mainboard Flash (Spansion S29GL)
Posted: 13 Apr 2019, 08:17
by Go4IT
oscarboiro wrote: ↑13 Apr 2019, 07:51
I understand, im looking to buy one,any page to buy in good price, i leek ebay but the price is around 100€
Have you googled it?
https://www.antratek.de/j-link-edu (60€ + 15€ shipping to Spain)
https://www.adafruit.com/product/1369 ($70)
I also wonder if the Jlink Mini would be sufficient:
https://www.antratek.de/j-link-edu-mini
Re: (SOLVED!) How to read and write mainboard Flash (Spansion S29GL)
Posted: 13 Apr 2019, 10:01
by oscarboiro
Thanks!!!! Do you see my last mail?
Re: (SOLVED!) How to read and write mainboard Flash (Spansion S29GL)
Posted: 27 Apr 2019, 06:32
by oscarboiro
I ordered my jlink EDU. Now I need wait to receive, and later try to write my unit.
Re: (SOLVED!) How to read and write mainboard Flash (Spansion S29GL)
Posted: 03 May 2019, 11:09
by oscarboiro
Today i receibe my EDU j-link but after connect, have the same problem.
Any sugestions?
Re: (SOLVED!) How to read and write mainboard Flash (Spansion S29GL)
Posted: 15 May 2019, 10:20
by Go4IT
As i experimented around with FX mainboard, i found that you can completely erase the flash and the radio still communicates via CAN. Interesting... it means that CAN communication is more done by the Radioprocessor (V850) and not by HMI (OMAP). I'm curios if it might be possible to flash the mainboard via CAN, like it could be done for other modules also...
The only sector you cannot erase is the first one (sector #0) where the bootloader resides in. It seems to be write- or at least erase-protected by the flash chip itself. Shure the update will change this record, so there must be a way to unlock it.
I also found out that if you flash a firmware and read it back after one startup cycle, the content is changed. Not dramatically, but there are many changes. I will try to get a pattern from it, as it proofs my theory that RTOS is using the NOR-Flash as a filesystem.
Re: (SOLVED!) How to read and write mainboard Flash (Spansion S29GL)
Posted: 15 May 2019, 20:59
by oscarboiro
Hello, After buy and try my SEGGER EDU, i have the same problem, not possible write my NX board.
I try to read and write in another NX and work fine, so the problem is on the NX and not in the SEGGER, cables or configuration.
when i try to connect show me this fail:
ScreenShot SEGGER MMU FAil.jpg
I try to deactivate the MMU, but after deactivate show me next fail with reference to a RAM
ScreenShot SEGGER RAM FAil.jpg
Any sugestions? i need replace the ram memory?