New to the Tiny 402 family and thus new to UPDI
I have implemented the chip on my own hardware. 3v3 regulator, decoupling, Tiny402 and that's all, but I'm having a struggle.
I've not used the Tiny 402 before, so I've had to update AVR studio to Microchip Studio latest, install the required CPU pack etc, upgrade the AVR ICE firmware.. all done.
The crazy thing is, fresh new out of the tube devices are reading back as Tiny 406 devices.
I can change the bit rate and I can see it changing it looks nice and clean, same result from 32Khz to 500Khz.
I have some code that I need to flash, but it uses the UPDI pin as a port, so I don't know whether to risk loading it regardless in case it locks out the updi port.
I don't know if the new Tiny can set the fuses to lock out the updi and I'm stumped by reading back as a tiny406.
I've tried to decode the UPDI data , but no luck finding a working bit time/ baud rate that gives sensible data.
I've downloaded the memory it's full of 0xFF
I've downloaded the fuse map.. works each time.. attached you can see what it reports. Clearly it is NOT a 406 it only has 8 pins.
This is what I ordered from RS Components.Microchip ATTINY402-SSFR, 8bit AVR Microcontroller, ATTINY, 20MHz, 4 kB Flash, 8-Pin SOIC
Generally, I know what I'm doing, the UPDI waveform looks good, the chip is decoupled nicely, but having spent a whole day now trying to find out why it loads as a tiny406, I thought I'd check here for pointers.