From: Andy K. <an...@ki...> - 2010-06-01 11:23:58
|
Best advice is double check that the serial comms isr stuff rx and tx is commented out and the polled serial stuff is un commented. After that crack open the data sheet for your device and double check the uart mnemonics for correct uart and that the a b c regisgters are being initialised to something sensible. Ie 8 bits no stop interupts disabled. Make sure mode of uart reg c is definitely async. My original template was set synchronous. If that does,nt work i think you will probably need to mail out your device and build files so we can see what is in them. Sorry for my email workstation is belly up and this is from my phone. Cheers andy kirby -- Like a rolling stone ----- Original message ----- > Hi Guys > > I tried version 3.9 for my ATmega128. I got it to compile without > errors, but it does not display a prompt. > > Did you run across issues with the extended I/O ports? > > m128.inc: > ; Definitions marked "MEMORY MAPPED"are extended I/O ports > ; and cannot be used with IN/OUT instructions > .equ SPMCSR = 0x68 ; MEMORY MAPPED > > change IN to LDS - istore_nrww.asm(109) > change OUT to STS - istore_nrww.asm(116) > > I saw that Andy had to sort out issues with interupts and asynchronous, > did these make into the core portion of the package or is that only > apply to the ardurino? > > My results are attached if you would be so kind as to take a look. > > Thanks! > > D > > > <Attachment> amforth39-ATmega128errors.txt |