AVRDUDESS Flash dump error

Delivery: August 12 – September 6

Shipping update
Waiting for flight
July 18, 10:29 (CET)
Left the country/region of origin
July 18, 10:29 (CET)
Package arrived at the airport, waiting for transit
July 13, 11:26 (CET)

As soon as it arrives, I’ll test it.

1 Like

Did it finish correctly and does the binary match what you’re expecting?

1 Like

@mbrugman dont works :frowning:

image

1 Like

I’ll have to build the debug version for you - give me a few minutes

Can you turn on binmode_debug, log the debug and send it to me?

1 Like

Can you send me a compiled version with that? Right now I’m making lunch and stuff :laughing:, so I can only handle simple tasks.

1 Like

Here it is :slight_smile:
firmware-rp2350-ubuntu-latest.zip (6.8 MB)

Thanks for your patience and testing!

You’re welcome! I’m really interested in getting this to work for the bootcamps with the Bus Pirate v6. I’m testing it now and I’ll let you know.

1 Like

teraterm.zip (14.2 KB)

2 Likes

My code detected that it is a “big” part. That was the hard part haha.


op_byte=0x13, extended_info=0x00
op_byte=0x10, extended_info=0x13
Bulk SPI transfer
bytes_to_read: 4
>> 
0x30 | 0x00  - read signature command
0x00 | 0x30
0x01 | 0x00  - read signature byte 1
0x00 | 0x98  - signature part ID 0x98, requires EHB write

Let me dig into this; probably will get to it later today.

2 Likes

@dreg - did you expect the flash on this part to be completely blank (every byte 0xff)?

Sigh, the log doesn’t really show any errors on the BP side. I added a couple of more debug statements; the first to see if the extended high byte write bit is still set when it gets to the actual reading, and another just to verify that the read is doing what I think it’s doing.

If you get a chance, can you give it a try? (And send log)
firmware-rp2350-ubuntu-latest.zip (6.8 MB)

Thanks again!
Matt

1 Like

The flash is fully filled from start to end with a pattern to detect any data corruption.

logs.zip (3.7 KB)

2 Likes

debug log for avrdude
avrdude.zip (8.0 KB)

2 Likes

I’ll take a look-see…..

1 Like

Ok, I do see something wrong now, @Dreg !

I’ll do some more work and get back to you. Thanks so much!

2 Likes

I just reflashed the flash pattern and everything is correct. Let me know when you want me to test more things.

1 Like

I just found my logic error - new version incoming in a few! :slight_smile:

1 Like

Ok, this should take care of it - dumb logic error on my part. Would only present on parts with flash > 64K, so I didn’t see it.

I’m so confident, I turned off logging, so you won’t even need to do that! ( lol -hold my beer!! )

Here is the latest:
firmware-rp2350-ubuntu-latest.zip (6.8 MB)

1 Like

nop :frowning:

logs.zip (63.5 KB)

1 Like

I’m not sure what went wrong, other than me turning off debug output!

So, I turned it back on and let’s try this again. Once more - I really appreciate your patience and help with this!

firmware-rp2350-ubuntu-latest.zip (7.2 MB)

now is broken
logs_full_bad.zip (2.6 KB)

1 Like