Post Created date
AT90USB Datalogger
I think the best way to approach this for now is to try to write a simple function that just tries to read and write some data to the dataflash, using my LUFA Dataflash driver...
Friday, 5 September 2014 - 10:34
Bootloader Function Optimized Out
Yep - Skeeve's --undefined flag is a magic sauce that retains symbols even through a linker garbage collection. I use this in my LUFA bootloaders for the user application API...
Thursday, 4 September 2014 - 08:12
AT90USB Datalogger
How many physical chips do you have connected? If only one, set DATAFLASH_TOTALCHIPS to 1. Make sure the /CS pin control code is also correct for your board (DATAFLASH_CHIPCS_*...
Monday, 1 September 2014 - 10:27
AT90USB Datalogger
Try: static inline void Dataflash_SendAddressBytes(uint16_t PageAddress, const uint16_t BufferByte) { #if (...
Monday, 1 September 2014 - 10:13
AVR GCC Jump Table Bug
No (but of course PIC would be nice!) - I just want a common use case of the compiler to work without the gotchas. That said, I've no interest in contributing to another GCC...
Monday, 1 September 2014 - 09:54
AT90USB Datalogger
The DF_CMD_BINARYPAGESIZEMODEON constant is an array for four bytes (see the documentation I linked) so you need to send each of the bytes in sequence. There's also explicit...
Monday, 1 September 2014 - 08:43
AVR GCC Jump Table Bug
Indeed, or a relocated base offset (the reason behind the failure here). I really do think the compiler should generate ELPM by default to ensure it works and have a new flag for...
Monday, 1 September 2014 - 08:40
AT90USB Datalogger
Is it a brand new flash chip? If so you need to configure it for binary page sizes. Send the four DF_CMD_BINARYPAGESIZEMODEON bytes to the Dataflash chip once. Once that's done,...
Sunday, 31 August 2014 - 07:16
What happens in the Flash after-life?
The FLASH will fail to write zeros, full stop. Note that semiconductor manufacturers will guarantee a minimum write cycle count for devices but not provide an upper bound; this is...
Sunday, 31 August 2014 - 07:10
AVR GCC Jump Table Bug
Sorry about the short reply last week Jim et. al. - long day, little free time. I'd argue this is a dangerous optimization then; if the target architecture could conceivably...
Sunday, 31 August 2014 - 07:05
SAM D20 Power Question
The idea being that you can add additional filtering between the various internal rails. - Dean :twisted:
Sunday, 31 August 2014 - 07:02
USB initialization problem
Despite what the datasheet says, the control endpoint is deconfigured after a USB bus reset, which occurs when the device is plugged in. - Dean :twisted:
Wednesday, 27 August 2014 - 07:33