Post Created date
[SOLVED] Accessing the device serial number through avrISP versus through boot_signature_byte_get
FIGURED IT OUT   It turns out there is secretly two commands for reading from signature address space, despite what the datasheet may lead you to believe.   The "...
Tuesday, 21 May 2019 - 18:19
OptiLoader port to Particle and SPI clock stretching
Okay, finally got it working.   Issue I think was related to timing etc.   Here is the actually working Electron code (attached).
Friday, 15 February 2019 - 20:25
OptiLoader port to Particle and SPI clock stretching
Looks like I spoke to soon.  It appears that after the Electron issues the chip erase command, all subsequent commands are responded to with 0xFF on MISO:    ...
Friday, 15 February 2019 - 01:30
OptiLoader port to Particle and SPI clock stretching
Well, thanks for the help @Westfw   I now have an Electron flashing Optiboot to a ATmega328PB.  Yay!  (See attached code)   One thing I noticed when I was...
Thursday, 14 February 2019 - 19:38
OptiLoader port to Particle and SPI clock stretching
Update:   I now have OptiLoader working on Arduino Mega 2560 to flash OptiBoot to my ATmega328PB.   I had to edit the bootloader image code to the baud rate 38400...
Thursday, 14 February 2019 - 17:28
OptiLoader port to Particle and SPI clock stretching
Right, so if writing the fuse bits doesn't affect the operation of the chip until the part leaves programming mode, then why do the following:   Enter programming mode Write...
Thursday, 14 February 2019 - 14:36
OptiLoader port to Particle and SPI clock stretching
westfw wrote: Except that 0x00 is never (?) a sensible value for a fuse byte, and OptiLoader uses the value of 0 to mean "don't change this fuse value from what it was."  ...
Thursday, 14 February 2019 - 01:22
OptiLoader port to Particle and SPI clock stretching
Some more updates:   It appears that everything is working as it should now, and that part of the reason I was experiencing such strange behaviour is that OptiLoader was...
Wednesday, 13 February 2019 - 20:49
OptiLoader port to Particle and SPI clock stretching
Back at the old drawing board.   Looks like the 2560 not able to flash bootloader to another 2560 was due to wiring issues on my part.  Sometimes you just need to...
Wednesday, 13 February 2019 - 16:36
OptiLoader port to Particle and SPI clock stretching
westfw wrote: But I'd think you would get SOMETHING other than 0xFF...   That would be nice!   westfw wrote: So... WHICH Photon?  I see an STM32 photon and several...
Wednesday, 13 February 2019 - 01:44
OptiLoader port to Particle and SPI clock stretching
Did a bunch more testing today.  I wanted to establish a baseline of functionality in terms of getting Optiboot installed using different "working" methods.  As...
Wednesday, 13 February 2019 - 01:16
Optiboot behaviour when no application loaded
theusch wrote: LOL -- let's start with the first statement.  How exactly does a general-purpose boot determine that the contents of application flash somehow fit the picture...
Thursday, 6 December 2018 - 01:11

Pages