Unfortunately it doesn't seem to be the issue. Yesterday I tried to just send data from the PC on an infinite loop after the table switch is done and not a single byte was received. The RAM interrupt was never triggered. We can't send data either. It seems that the RAM handler never gets executed. We are running exactly the same UART driver that works before switching the table (except for the RAM handler, that it's just a block of conditionals that checks and clears interrupt flags). The whole code for the bootloader is placed on RAM so we aren't accessing the Flash memory while we erase. The curious thing is that we can erase and flash so I guess that this rules out a bad clock configuration and some other things.
↧