propeller-load ignored bytes?
SRLM
Posts: 5,045
Sometimes when i download a program the propeller-load ignores some bytes:
Sometimes the bytes are ignored, and sometimes they are not. If I immediately re-run the program, it downloads without ignoring bytes:
In both cases it's downloading the same amount (apparently), and it seems to work correctly in both cases. What's happening here?
... <compiler messages> Ignored 37 bytes. Propeller Version 1 on /dev/ttyUSB0 Ignored 63 bytes. Loading main.elf to EEPROM via hub memory 18668 bytes sent Verifying RAM ... OK Programming EEPROM ... OK Verifying EEPROM ... OK [ Entering terminal mode. Type ESC or Control-C to exit. ]
Sometimes the bytes are ignored, and sometimes they are not. If I immediately re-run the program, it downloads without ignoring bytes:
... <compiler messages> Propeller Version 1 on /dev/ttyUSB0 Loading main.elf to EEPROM via hub memory 18668 bytes sent Verifying RAM ... OK Programming EEPROM ... OK Verifying EEPROM ... OK [ Entering terminal mode. Type ESC or Control-C to exit. ]
In both cases it's downloading the same amount (apparently), and it seems to work correctly in both cases. What's happening here?
Comments
It's on a custom board, but I did use the QuickStart and Eddie schematics as the base for my FTDI circuit, along with the buffer from a PhiPi post:
Sometimes when I run my program with the -t option, I notice a bit of garbage at the beginning of the terminal output, but then it never reappears. Is this related? And the fix is a pullup on RX?
Edit: oops. I suppose I really meant a pullup on TX? I'm not a hardware guy. Sorry for the confusion!
The pull up needs to be on U12 pin 3.