| Electronics > Repair |
| Agilent 34461A corrupted flash |
| << < (27/41) > >> |
| ElectronMan:
--- Quote from: analogRF on July 31, 2023, 01:33:44 am --- --- Quote from: ElectronMan on July 31, 2023, 01:21:56 am --- It is starting to get weird now. The flash pages in question look fine. The PBOOT image looks correct. It could be that the chip is not responding properly to parameters and giving the correct ID, but I would expect that to cause problems with UBOOT as well. You could verify that via JTAG by querying the flash chip for parameters. A memory dump might help too. It might still be worth doing an erase on that once-empty block at e0000 and reprogram it to see if anything changes. But other than that, I am out of ideas at the moment. --- End quote --- i dont know the JTAG pins on the board. Do you? I will do the erase and re-write but I am pretty sure it will work. maybe the issue is not pboot but it is the uboot I mean if I understand correctly, uboot reads pboot from 0x320000 into memory but it is a packed (gzipped) binary so when the bootm command runs, I suppose it must unpack pboot in order for it to execute and maybe that's where the problem starts --- End quote --- Here is the pinout on the connector labeled J102. --- Code: --- 0 0 GND 3.3V 0 0 GND TMS 0 0 GND TCK 0 0 GND TDO 0 0 3.3V TDI 0 0 TRST 3.3V 0 0 GND --- End code --- |
| analogRF:
--- Quote from: ElectronMan on July 31, 2023, 02:25:02 am --- Here is the pinout on the connector labeled J102. --- Code: --- 0 0 GND 3.3V 0 0 GND TMS 0 0 GND TCK 0 0 GND TDO 0 0 3.3V TDI 0 0 TRST 3.3V 0 0 GND --- End code --- --- End quote --- Great! Thanks. I only have a Segger J-Link. Not sure if it is compatible with Spear320. I doubt that but I will certainly check How could a memory dump help? |
| ElectronMan:
--- Quote from: analogRF on July 31, 2023, 02:32:41 am --- --- Quote from: ElectronMan on July 31, 2023, 02:25:02 am --- Here is the pinout on the connector labeled J102. --- Code: --- 0 0 GND 3.3V 0 0 GND TMS 0 0 GND TCK 0 0 GND TDO 0 0 3.3V TDI 0 0 TRST 3.3V 0 0 GND --- End code --- --- End quote --- Great! Thanks. I only have a Segger J-Link. Not sure if it is compatible with Spear320. I doubt that but I will certainly check How could a memory dump help? --- End quote --- I've been using a J-LINK pro with J-Link commander for some things (debugging and breakpointing) and OpenOCD via the j-link on a Linux box for things like dumping full NAND images. Really the memory dump around the time of failure may just reveal some things about what the software was "thinking" at the time. Parameters it has loaded for the flash device, etc. I could compare it to my memory state. It's a long shot without me being able to actually breakpoint it and follow it myself. |
| TheSteve:
I need to read the entire thread in detail, but I'd certainly say it's JTAG time. |
| analogRF:
--- Quote from: TheSteve on July 31, 2023, 06:05:19 am ---I need to read the entire thread in detail, but I'd certainly say it's JTAG time. --- End quote --- please do. your input is always highly appreciated. |
| Navigation |
| Message Index |
| Next page |
| Previous page |