Well, go figure.
Is there something wrong with directly writing to UOIER
to turn THRE INts on and off ?
This is what I sed :
Write 0x01 to U0IER (disable THRE Int, leave RDA)
Write to tx_chars
Write 0x03 to U0IER (THRE and RDA enabled again)
The first line, 0x01 -> U0IER was causing the resets.
When I globally disable and then re-enable INTs in CPSR instead, it
works
perfect, I should have tried that first... hmm
I'm not using any other Interrupts, so I can't see why the writes to
turn THRE on and off directly in U0IER shouldn't work.
Anyone ?
-- Kris