(SOLVED!) How to read and write mainboard Flash (Spansion S29GL)
-
- Active member
- Posts: 123
- Joined: 19 Feb 2019, 21:50
Re: (SOLVED!) How to read and write mainboard Flash (Spansion S29GL)
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?
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?
Kuga MK1 owner
Re: (SOLVED!) How to read and write mainboard Flash (Spansion S29GL)
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.
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.
Digimod
Re: (SOLVED!) How to read and write mainboard Flash (Spansion S29GL)
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.
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.
-
- Active member
- Posts: 123
- Joined: 19 Feb 2019, 21:50
Re: (SOLVED!) How to read and write mainboard Flash (Spansion S29GL)
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!!!!
I want to buy it next month, now I have many expenses.
Thanks!!!!
Kuga MK1 owner
Re: (SOLVED!) How to read and write mainboard Flash (Spansion S29GL)
Have you googled it?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€
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
-
- Active member
- Posts: 123
- Joined: 19 Feb 2019, 21:50
Re: (SOLVED!) How to read and write mainboard Flash (Spansion S29GL)
Thanks!!!! Do you see my last mail?Go4IT wrote: ↑13 Apr 2019, 08:17Have you googled it?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€
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
Kuga MK1 owner
-
- Active member
- Posts: 123
- Joined: 19 Feb 2019, 21:50
Re: (SOLVED!) How to read and write mainboard Flash (Spansion S29GL)
I ordered my jlink EDU. Now I need wait to receive, and later try to write my unit.
Kuga MK1 owner
-
- Active member
- Posts: 123
- Joined: 19 Feb 2019, 21:50
Re: (SOLVED!) How to read and write mainboard Flash (Spansion S29GL)
Today i receibe my EDU j-link but after connect, have the same problem.
Any sugestions?
Any sugestions?
Kuga MK1 owner
Re: (SOLVED!) How to read and write mainboard Flash (Spansion S29GL)
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.
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.
-
- Active member
- Posts: 123
- Joined: 19 Feb 2019, 21:50
Re: (SOLVED!) How to read and write mainboard Flash (Spansion S29GL)
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:
I try to deactivate the MMU, but after deactivate show me next fail with reference to a RAM
Any sugestions? i need replace the ram memory?
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:
I try to deactivate the MMU, but after deactivate show me next fail with reference to a RAM
Any sugestions? i need replace the ram memory?
You do not have the required permissions to view the files attached to this post.
Kuga MK1 owner