Post Created date
Using two .h files to avoid link and scoping problems, maybe.
james_millar wrote:I don't think   You can think or not think all you like. Work with facts. If you don't like the service here, take your attitude elsewhere and see what...
Monday, 22 March 2021 - 08:13
Time Triggered Embedded Systems - Remote Control
The ultimate goal would be no interrupts. This removes a whole class of potential defects. I tend to be a bit more pragmatic and use interrupts where they add value. If you want...
Friday, 19 March 2021 - 02:20
Time Triggered Embedded Systems - Remote Control
You want 10’s of microsecond resolution for the IR but milliseconds for the rest of the code. So why try to make a square peg fir a round hole? Use another timer and interrupts...
Thursday, 18 March 2021 - 21:12
Is there a question in there or are you just venting? If you're asking a question, then you might want to give us a bit more information to work from.
Thursday, 18 March 2021 - 07:49
SPI between ATmega128 and Zynq-7000 FPGA
Your adc code doesn’t make sense. Either use interrupts or polling - not both. I would suggest you skip ADC stuff at the moment and just send fake data. Once you have solved the...
Thursday, 18 March 2021 - 06:17
Wishlist and suggestions
There's already HDL instances of AVRs out there. All you need is add a few more lines and you'll have your ideal AVR. Will it fly?  
Wednesday, 17 March 2021 - 09:22
Wishlist and suggestions
On the surface, implementing these changes seem easy, but architecting a processor is full of compromises. I’d suggest it would be instructional to implement such changes in a...
Tuesday, 16 March 2021 - 22:20
running code from sd card
I think what you might be wanting is called 'virtual memory'.  When you run out of real memory to allocate, you swap blocks in and out from secondary storage. The mmu is used...
Tuesday, 16 March 2021 - 12:15
error message
Lcd_putchar() should do what it says - put one char to the lcd. Seems like you want puts() . I think its time to read the documentation - you’re making a number of simple mistakes...
Monday, 15 March 2021 - 22:17
Stuck with ATSAM4S4C & Assembly
The +1 is to denote a thumb instruction vs an Arm instruction which is 32 bit. Not that Cortex M supports Arm instructions - backwards compatibility. There’s a few other gems as...
Monday, 15 March 2021 - 22:10
SPI between ATmega128 and Zynq-7000 FPGA
Implementing a spi slave on a mega128 is challenging. It only has one byte of fifo so you need to consider flow control with the fpga. Sounds like you’re nowhere near the position...
Monday, 15 March 2021 - 08:03
SAMD21 Bootloader with firmware fallback to previous version if boot fails with new application firmware
What happens if the app has a valid hash but repeatedly watchdogs? You need a mechanism to intercept this and rewind to a known good app.
Monday, 15 March 2021 - 07:58