03-24-2018, 09:08 PM
Pages: 1 2
Gods
03-25-2018, 01:52 AM
(03-24-2018, 09:08 PM)admin Wrote: [ -> ]The code is in C and assembly. The default baud rate of the boot loader is 76800, which is available on Windows if your terminal program supports it.
What parts of your code use ASM ?
The boot loader (bootrom) baud rate today isn't 74880, with a 26 MHz crystal ? I think the 76800 baud rate is with a 40 MHz crystal and now all ESP8266 units use 26 MHz crystal.
Back to the suject, have you see this 115200 serial bug? I tested all the standard serial speeds (until 115K,my serial device don't go higher) and no AT modem answer.
03-25-2018, 10:09 AM
Several parts of the code are in assembly. The boot loader baud is 76800, that is what I have been using during development.
What "bug" are you referring to? I have tested up to 230400 baud using a PCI-e serial card. I run my Amiga every day at 115200 baud.
What "bug" are you referring to? I have tested up to 230400 baud using a PCI-e serial card. I run my Amiga every day at 115200 baud.
Gods
03-25-2018, 01:34 PM
(03-25-2018, 10:09 AM)admin Wrote: [ -> ]Several parts of the code are in assembly. The boot loader baud is 76800, that is what I have been using during development.
What "bug" are you referring to? I have tested up to 230400 baud using a PCI-e serial card. I run my Amiga every day at 115200 baud.
You set the serial speed at 115200 baud with at*b115200 and save with at&w. Working until you do a reset with a power cycle. And now the wimodem don't communicate at all. It set a unknown serial speed that isn't a standard rs232 speed (or bad data format). I got garbage characters on screen at all possible speeds. I use the internal COM of motherboard. Tomorrow i test with a usb to serial converter. At 19200 i don't have this issue.
03-25-2018, 07:45 PM
So, it's just 115200 baud that has this issue? Not 19200, 38400, or 57600? I haven't tried saving at 115200. My baud rate is saved as 57600. I switch manually from 57600 to 115200 when I use the Amiga, because I switch device drivers as well. I will try saving the baud rate at 115200 and see what happens.
Gods
03-26-2018, 12:30 PM
(03-25-2018, 07:45 PM)admin Wrote: [ -> ]So, it's just 115200 baud that has this issue? Not 19200, 38400, or 57600? I haven't tried saving at 115200. My baud rate is saved as 57600. I switch manually from 57600 to 115200 when I use the Amiga, because I switch device drivers as well. I will try saving the baud rate at 115200 and see what happens.
Tried now at 38400 and 57600 bps , is working. It'is only on 115200 speed. I also used an USB to serial converter (PL-2303 chip) and same results.
03-26-2018, 11:45 PM
OK, I see what the problem is. I will have to re-write the baud rate handler. The save routine doesn't support baud rates higher than 65535 baud.
Pages: 1 2