/Designs/GPSRL03A/glg.elf
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/Designs/GPSRL03A/glg.hex
26,7 → 26,7
:100190007601E82FF0E0EA58FE4F93838F5F8639AF
:1001A00008F080E08093760105C080916F01826045
:1001B00080936F01FF91EF919F918F910F900FBEF0
:1001C0000F901F90189590E051E448E901C090E02D
:1001C0000F901F90189590E052E848E901C090E028
:1001D00080916F0180FD46C0309177018091780158
:1001E000882311F420E013C0E32FF0E0EA58FE4F1B
:1001F0002381E32FEF5FF894809178018150809301
54,7 → 54,7
:10035000B0921C0180911C018823E1F715BCB0927A
:100360001C0180911C018823E1F7915080F7F894DB
:100370001092C100109277011092760110927801CC
:1003800081E48093C40088E98093C10080916F016B
:1003800082E88093C40088E98093C10080916F0166
:100390008D7F80936F01789402C0EE24FF240E9429
:1003A000E300882309F4ACCF2BE730E0ADE1B1E006
:1003B000F9012F5F3F4F9491992329F08C91981761
/Designs/GPSRL03A/glg.lst
312,7 → 312,7
rxfifo.idx_w = 0;
rxfifo.count = 0;
UBRR0L = SYSCLK/16/GPS_BAUDRATE;
1c8: 51 e4 ldi r21, 0x41 ; 65
1c8: 52 e8 ldi r21, 0x82 ; 130
UCSR0B = _BV(RXCIE0)|_BV(RXEN0)|_BV(TXEN0);
1ca: 48 e9 ldi r20, 0x98 ; 152
1cc: 01 c0 rjmp .+2 ; 0x1d0 <get_line+0xa>
659,7 → 659,7
rxfifo.count = 0;
37c: 10 92 78 01 sts 0x0178, r1
UBRR0L = SYSCLK/16/GPS_BAUDRATE;
380: 81 e4 ldi r24, 0x41 ; 65
380: 82 e8 ldi r24, 0x82 ; 130
382: 80 93 c4 00 sts 0x00C4, r24
UCSR0B = _BV(RXCIE0)|_BV(RXEN0)|_BV(TXEN0);
386: 88 e9 ldi r24, 0x98 ; 152
/Designs/GPSRL03A/main.c
18,7 → 18,7
#define GPS_OFF() PORTB&=0xFD
#define DELAY(dly) for(Timer=dly;Timer;)
 
#define GPS_BAUDRATE 9600 // Enable USRAT0 in N81,9600bps
#define GPS_BAUDRATE 4800 // Enable USRAT0 in N81,9600bps
 
#define VTH_LOW (WORD)(8000UL*100/3838)
#define VTH_HIGH (WORD)(11500UL*100/3838)