Miguel Ángel
Forum Replies Created
-
AuthorPosts
-
Miguel ÁngelParticipant
Hi Bryan,
In version venus-gps-0.1.0.zip the file ‘cbuffer.c’ has not updated changes.
Are you sure it’s the latest version?
Miguel ÁngelParticipantHi Bryan,
Thanks for your support.
I have the source file and I made the changes directly. I downloaded the source files (venus-gps-0.0.2.zip) by http://git.multitech.net/cgi-bin/cgit.cgi/venus-gps.git/
In that case, what would you propose?
Miguel ÁngelParticipantHi Bryan!
I think I’ve found some bug.
I run the application venus-gps (venus-gps –mode server –port 8888 –gga 30 –gsa 0 –gsv 30 –gll 0 –rmc 5 –vtg 0) and the result is the following:
$GPRMC,100700.841,A,3935.3672,N,00239.1183,E,000.8,067.9,160913,,,A*66 $GPGGA,100705.841,3935.3670,N,00239.1256,E,1,03,2.0,0.0,M,47.3,M,,0000*55 $GPGSV,3,1,11,31,65,273,00,29,64,037,00,25,48,090,,21,40,172,24*76 $GPGSV,3,2,11,12,11,103,09,14,08,218,31,05,05,067,12,16,05,294,21*78 $GPGSV,3,3,11,02,03,036,21,06,01,247,,23,00,332,*4B $GPRMC,100705.841,A,3935.3670,N,00239.1256,E,002.8,068.4,160913,,,A*6A $GPRMC,100710.841,V,3935.3670,N,00239.1256,E,002.8,068.4,160913,,,N*76 $GPRMC,100715.841,A,3935.3650,N,00239.1286,E,001.1,072.9,160913,,,A*68 $GPRMC,100720.841,A,3935.3644,N,00239.1282,E,000.0,078.0,160913,,,A*6C $GPRMC,100725.841,A,3935.3643,N,00239.1280,E,000.0,078.0,160913,,,A*6C $GPRMC,100730.841,A,3935.3643,N,00239.1280,E,000.0,078.0,160913,,,A*68 $GPGGA,100735.841,3935.3643,N,00239.1280,E,1,05,2.0,0.0,M,47.3,M,,0000*5B $GPGSV,3,1,11,31,65,273,32,29,64,037,25,25,48,091,00,21,40,172,27*72 $GPGSV,3,2,11,12,10,103,11,14,08,218,30,16,06,294,19,05,05,067,*7A $GPGSV,3,3,11,02,03,036,22,06,01,247,,23,00,332,*48 $GPRMC,100735.841,A,3935.3643,N,00239.1280,E,000.0,078.0,160913,,,A*6D $GPRMC,100740.841,A,3935.3635,N,00239.1278,E,000.0,078.0,160913,,,A*69 $GPRMC,100745.841,A,3935.3635,N,00239.1278,E,000.0,078.0,160913,,,A*6C $GPRMC,100750.841,V,3935.3643,N,00239.1275,E,004.2,078.0,160913,,,E*71 $GPRMC,100755.841,A,3935.3642,N,00239.1264,E,000.0,078.0,160913,,,A*60 $GPRMC,100800.841,A,3935.3639,N,00239.1260,E,000.0,078.0,160913,,,A*67 $GPGGA,100805.841,3935.3639,N,00239.1260,E,1,06,1.4,0.0,M,47.3,M,,00,160913,,,A*62 $GPRMC,100810.841,A,3935.3640,N,00239.1260,E,000.0,078.0,160913,,,A*68 $GPRMC,100815.841,A,3935.3640,N,00239.1260,E,000.0,078.0,160913,,,A*6D $GPRMC,100820.841,A,3935.3640,N,00239.1260,E,000.0,078.0,160913,,,A*6B $GPRMC,100825.841,A,3935.3640,N,00239.1260,E,000.0,288.3,160913,,,A*60 $GPRMC,100830.841,A,3935.3641,N,00239.1258,E,000.0,288.3,160913,,,A*6E $GPGGA,100835.841,3935.3641,N,00239.1258,E,1,07,1.1,0.0,M,47.3,M,,0000*53 $GPGSV,3,1,11,31,65,271,25,29,63,037,27,25,48,091,18,21,40,171,20*7E $GPGSV,3,2,11,12,10,103,17,14,08,218,28,16,06,294,16,05,05,067,*7A $GPGSV,3,3,11,02,03,036,20,06,02,248,,23,00,332,*46 $GPRMC,100835.841,A,3935.3641,N,00239.1258,E,000.0,288.3,160913,,,A*6B $GPRMC,100840.841,A,3935.3641,N,00239.1258,E,000.0,288.3,160913,,,A*69 $GPRMC,100845.841,A,3935.3641,N,00239.1258,E,000.0,288.3,160913,,,A*6C $GPRMC,100850.841,A,3935.3641,N,00239.1258,E,000.0,288.3,160913,,,A*68 $GPRMC,100855.841,A,3935.3641,N,00239.1258,E,000.0,288.3,160913,,,A*6D $GPRMC,100900.841,A,3935.3641,N,00239.1258,E,000.9,284.6,160913,,,A*6C $GPGGA,100905.841,3935.3641,N,00239.1258,E,1,05,1.6,0.0,M,47.3,M,,0000*54 $GPGSV,3,1,11,31,65,271,26,29,63,037,27,25,47,091,20,21,41,171,25*7D $GPGSV,3,2,11,12,10,104,13,14,08,218,29,16,06,294,20,05,05,066,*7C $GPGSV,3,3,11,02,03,035,20,06,02,248,,23,00,332,*45 $GPRMC,100905.841,A,3935.3641,N,00239.1258,E,000.0,301.3,160913,,,A*69 $GPRMC,100910.841,A,3935.3634,N,00239.1260,E,000.9,280.5,160913,,,A*63 $GPRMC,100915.841,A,3935.3634,N,00239.1260,E,000.0,280.5,160913,,,A*6F $GPRMC,100920.841,A,3935.3634,N,00239.1260,E,001.9,144.8,160913,,,A*67 $GPRMC,100925.841,A,3935.3634,N,00239.1260,E,000.0,145.4,160913,,,A*67 $GPRMC,100930.841,A,3935.3634,N,00239.1260,E,000.0,145.4,160913,,,A*63 $GPGGA,100935.841,30935.841,A,3935.3634,N,00239.1260,E,000.0,145.4,160913,,,A*66 $GPRMC,100940.841,A,3935.3634,N,00239.1260,E,000.0,145.4,160913,,,A*64 $GPRMC,100945.841,A,3935.3634,N,00239.1260,E,000.0,145.4,160913,,,A*61 $GPRMC,100950.841,A,3935.3634,N,00239.1260,E,000.0,145.4,160913,,,A*65 $GPRMC,100955.841,A,3935.3634,N,00239.1260,E,000.0,145.4,160913,,,A*60 $GPRMC,101000.841,A,3935.3634,N,00239.1260,E,000.0,145.4,160913,,,A*68 $GPGGA,101005.841,3935.3634,N,00239.1260,E,1,06,1.4,0.0,M,47.3,M,,0000*54 $GPGSV,3,1,11,31,65,270,29,29,63,038,18,25,47,092,24,21,41,171,27*75 $GPGSV,3,2,11,12,10,104,13,14,08,218,32,16,06,294,26,05,05,066,*70 $GPGSV,3,3,11,02,02,035,20,06,02,248,,23,00,331,*47 $GPRMC,101005.841,A,3935.3634,N,00239.1260,E,000.0,145.4,160913,,,A*6D $GPRMC,101010.841,A,3935.3634,N,00239.1260,E,000.0,145.4,160913,,,A*69 $GPRMC,101015.841,A,3935.3634,N,00239.1260,E,000.0,145.4,160913,,,A*6C $GPRMC,101020.841,A,3935.3634,N,00239.1260,E,000.0,145.4,160913,,,A*6A $GPRMC,101025.841,A,3935.3634,N,00239.1260,E,000.0,145.4,160913,,,A*6F $GPRMC,101030.841,A,3935.3634,N,00239.1260,E,000.0,145.4,160913,,,A*6B $GPGGA,101035.841,3935.3634,N,00239.1260,E,1,06,1.2,0.0,M,47.3,M,,0000*51 $GPGSV,3,1,11,31,65,269,26,29,63,038,00,25,47,092,21,21,41,171,24*7D $GPGSV,3,2,11,12,10,104,18,14,07,218,32,16,06,295,24,05,06,066,11*74 $GPGSV,3,3,11,02,02,035,22,06,02,248,,23,00,331,*45 $GPRMC,101035.841,A,3935.3634,N,00239.1260,E,000.0,145.4,160913,,,A*6E $GPRMC,101040.841,A,3935.3634,N,00239.1260,E,000.0,145.4,160913,,,A*6C $GPRMC,101045.841,A,3935.3634,N,00239.1260,E,000.0,145.4,160913,,,A*69 $GPRMC,101050.841,A,3935.3634,N,00239.1260,E,000.0,145.4,160913,,,A*6D $GPRMC,101055.841,A,3935.3634,N,00239.1260,E,000.0,145.4,160913,,,A*68 $GPRMC,101100.841,A,3935.3624,N,00239.1278,E,000.9,074.5,160913,,,A*6A $GPGGA,101105.841,3935.3626,N,00239.1280,E,1,05,1.5,0.0,M,47.3,M,,0000*5A $GPGSV,3,1,11,31,65,268,34,29,62,038,23,25,47,093,21,21,42,171,27*7E $GPGSV,3,2,11,12,09,104,14,14,07,217,31,16,07,295,26,05,06,066,*7F $GPGSV,3,3,11,06,03,248,,02,02,035,,23,00,331,*44 $GPRMC,101105.841,A,3935.3626,N,00239.1280,E,000.0,074.4,160913,,,A*62 $GPRMC,101110.841,A,3935.3626,N,00239.1280,E,000.0,074.4,160913,,,A*66 $GPRMC,101115.841,A,3935.3626,N,00239.1280,E,000.0,074.4,160913,,,A*63 $GPRMC,101120.841,A,3935.3624,N,00239.1280,E,000.8,115.1,160913,,,A*6C $GPRMC,101125.841,A,3935.3624,N,00239.1278,E,000.0,115.1,160913,,,A*66 $GPRMC,101130.841,A,3935.3623,N,00239.1280,E,000.0,114.3,160913,,,A*61 $GPGGA,101135.841,3935.3620,N,00239.1284,E,1,05,1.5,0.0,M,47.3,M,,0000*5B $GPGSV,3,1,11,31,65,268,37,29,62,038,25,25,47,093,18,21,42,171,27*71 $GPGSV,3,2,11,12,09,104,00,14,07,217,30,16,07,295,27,05,06,065,*79 $GPGSV,3,3,11,06,03,248,,02,02,035,11,23,00,331,*44 $GPRMC,101135.841,A,3935.3620,N,00239.1284,E,000.0,114.3,160913,,,A*63 $GPRMC,101140.841,A,3935.3620,N,00239.1284,E,000.0,114.3,160913,,,A*61 $GPRMC,101145.841,A,3935.3620,N,00239.1284,E,000.0,114.3,160913,,,A*64 $GPRMC,101150.841,A,3935.3620,N,00239.1284,E,000.0,114.3,160913,,,A*60
¿Does you can see that there is an error in frames GGA?
- This reply was modified 11 years, 2 months ago by Miguel Ángel.
- This reply was modified 11 years, 2 months ago by Miguel Ángel.
- This reply was modified 11 years, 2 months ago by Miguel Ángel.
- This reply was modified 11 years, 2 months ago by Miguel Ángel.
- This reply was modified 11 years, 2 months ago by Miguel Ángel.
Miguel ÁngelParticipantHi Bryan! It works ok, thanks a lot for your support!
Miguel ÁngelParticipantHi Bryan,
I have made the changes.
Now I get an error only in the frame number 8. See the following image:
https://www.dropbox.com/s/252kbbf1c8amd8w/captura5.png
Can you see that disappears the digit 6 in frame number 8? This error appear only in frame number 8. If I restart the application reappears the error. This error is not very serious because I use the CRC to check error frames.
Is it an error from “HW gps” or “SW venus-gps”? It can be corrected?
Thanks a lot
- This reply was modified 11 years, 3 months ago by Miguel Ángel.
Miguel ÁngelParticipantCan anyone check if the same thing happens?
Miguel ÁngelParticipantI’ve been tested on another MTCDP-H4-GP with version of CoreCDP is 1.1.1.
I have run the original application venus-gps (venus-gps –mode server –port 8888 –gga 0 –gsa 0 –gsv 0 –gll 0 –rmc 5 –vtg 0) and the result is the following:
https://www.dropbox.com/l/kLeMj5SLTUN86xvaoXNC4b
In this case do not appear zda frames but I receive incomplete messages.
- This reply was modified 11 years, 3 months ago by Miguel Ángel.
- This reply was modified 11 years, 3 months ago by Miguel Ángel.
Miguel ÁngelParticipantThe product/model is MTCDP-H5-GP and the version of CoreCDP is 2.2.2.
I made one more test. I have run the original application venus-gps (venus-gps –mode server –port 8888 –gga 0 –gsa 0 –gsv 0 –gll 0 –rmc 5 –vtg 0) and the result is the following:
https://www.dropbox.com/l/YU94s2X5dERc8xXmLsTFH9
In the picture you see that I do not receive complete messages.
¿what is the problem?
- This reply was modified 11 years, 3 months ago by Miguel Ángel.
Miguel ÁngelParticipantOk, thanks!
Miguel ÁngelParticipantThanks!
Miguel ÁngelParticipantHi!
I have a problem with cron. I modified the file (/etc/cron/crontabs/root) by adding a call to a script. Unfortunately I did not run correctly call to cron. Does anyone knows what could it be?
File content: /etc/cron/crontabs/root
1 * * * * /usr/bin/ntpdate -s -u pool.ntp.org
Miguel ÁngelParticipantDid anyone tried it?
Miguel ÁngelParticipantFinally I know find the port. Now every time you reboot the machine the port is different. Is there any way to fix the port?
Miguel ÁngelParticipantThe ‘dmesg’ output is:
Machine: Atmel AT91SAM9G20-EK
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 16384
free_area_init_node: node 0, pgdat c0394af4, node_mem_map c03b6000
Normal zone: 128 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 16256 pages, LIFO batch:3
Clocks: CPU 396 MHz, master 132 MHz, main 18.432 MHz
sam9g20: i2c available
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: mem=64M console=ttyS0,115200 root=/dev/mtdblock8 ro rootfstype=jffs2
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 61108KB available (3292K code, 241K data, 132K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:192
AT91: 96 gpio irqs in 3 banks
Console: colour dummy device 80×30
console [ttyS0] enabled
Calibrating delay loop… 197.83 BogoMIPS (lpj=989184)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
AT91: Power Management (with slow clock mode)
AT91: Starting after power-restored wakeup
tcb_clksrc: tc0 at 16.012 MHz
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource tcb_clksrc
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
ROMFS MTD (C) 2007 Red Hat, Inc.
msgmni has been set to 119
io scheduler noop registered
io scheduler anticipatory registered (default)
atmel_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL
atmel_usart.1: ttyS1 at MMIO 0xfffb0000 (irq = 6) is a ATMEL_SERIAL
atmel_usart.2: ttyS2 at MMIO 0xfffb4000 (irq = 7) is a ATMEL_SERIAL
atmel_usart.3: ttyS3 at MMIO 0xfffd0000 (irq = 23) is a ATMEL_SERIAL
brd: module loaded
loop: module loaded
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron NAND 256MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 9 MTD partitions on “atmel_nand”:
0x000000000000-0x000010000000 : “MTNCG-NANDFlash”
0x000000000000-0x000000020000 : “AT91Bootstrap”
0x000000020000-0x000000060000 : “UBoot”
0x000000060000-0x000000080000 : “UBoot Config”
0x000000080000-0x0000000a0000 : “UBoot Redundant Config”
0x0000000a0000-0x000000800000 : “uImage”
0x000000800000-0x000001000000 : “Config”
0x000001000000-0x000001800000 : “Oem Config”
0x000001800000-0x000010000000 : “Rootfs”
atmel_spi atmel_spi.0: Atmel SPI Controller at 0xfffc8000 (irq 12)
atmel_spi atmel_spi.1: Atmel SPI Controller at 0xfffcc000 (irq 13)
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
MACB_mii_bus: probed
eth0: Atmel MACB at 0xfffc4000 irq 21 (00:08:00:87:2d:38)
eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:00, irq=-1)
usbmon: debugfs is not available
ohci_hcd: USB 1.1 ‘Open’ Host Controller (OHCI) Driver
at91_ohci at91_ohci: AT91 OHCI
at91_ohci at91_ohci: new USB bus registered, assigned bus number 1
at91_ohci at91_ohci: irq 20, io mem 0x00500000
usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: AT91 OHCI
usb usb1: Manufacturer: Linux 2.6.32.3 ohci_hcd
usb usb1: SerialNumber: at91
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
udc: at91_udc version 3 May 2006
mice: PS/2 mouse device common for all mice
rtc-at91sam9 at91_rtt.0: rtc core: registered at91_rtt as rtc0
IRQ 1/rtc0: IRQF_DISABLED is not guaranteed on shared IRQs
i2c /dev entries driver
at24 0-0056: 512 byte 24c04 EEPROM (writable)
sam9g20: read 512 bytes from id eeprom
i2c-gpio i2c-gpio: using pins 55 (SDA) and 56 (SCL)
AT91SAM9 Watchdog: sorry, watchdog is disabled
at91_wdt: probe of at91_wdt failed with error -5
Registered led device: status
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (955 buckets, 3820 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
IPv4 over IPv4 tunneling driver
GRE over IPv4 tunneling driver
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 17
rtc-at91sam9 at91_rtt.0: setting system clock to 2011-08-09 08:28:58 UTC (1312878538)
usb 1-1: new full speed USB device using at91_ohci and address 2
usb 1-1: New USB device found, idVendor=1199, idProduct=683c
usb 1-1: New USB device strings: Mfr=3, Product=2, SerialNumber=0
usb 1-1: Product: MC8790V
usb 1-1: Manufacturer: Sierra Wireless, Incorporated
usb 1-1: configuration #1 chosen from 1 choice
usb 1-2: new full speed USB device using at91_ohci and address 3
usb 1-2: New USB device found, idVendor=0403, idProduct=6001
usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-2: Product: FT232R USB UART
usb 1-2: Manufacturer: FTDI
usb 1-2: SerialNumber: A7007KAI
usb 1-2: configuration #1 chosen from 1 choice
JFFS2 notice: (1) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
VFS: Mounted root (jffs2 filesystem) readonly on device 31:8.
Freeing init memory: 132K
mmc0: new SD card at address 8fe4
mmcblk0: mmc0:8fe4 SD02G 1.84 GiB
mmcblk0: p1
USB Serial support registered for Sierra USB modem
sierra 1-1:1.0: Sierra USB modem converter detected
usb 1-1: APM supported, enabling autosuspend.
usb 1-1: Sierra USB modem converter now attached to ttyUSB0
sierra 1-1:1.1: Sierra USB modem converter detected
usb 1-1: APM supported, enabling autosuspend.
usb 1-1: Sierra USB modem converter now attached to ttyUSB1
sierra 1-1:1.2: Sierra USB modem converter detected
usb 1-1: APM supported, enabling autosuspend.
usb 1-1: Sierra USB modem converter now attached to ttyUSB2
sierra 1-1:1.3: Sierra USB modem converter detected
usb 1-1: APM supported, enabling autosuspend.
usb 1-1: Sierra USB modem converter now attached to ttyUSB3
sierra 1-1:1.4: Sierra USB modem converter detected
usb 1-1: APM supported, enabling autosuspend.
usb 1-1: Sierra USB modem converter now attached to ttyUSB4
USB Serial support registered for FTDI USB Serial Device
sierra 1-1:1.5: Sierra USB modem converter detected
usb 1-1: APM supported, enabling autosuspend.
ftdi_sio 1-2:1.0: FTDI USB Serial Device converter detected
usb 1-2: Detected FT232RL
usb 1-2: Number of endpoints 2
usb 1-1: Sierra USB modem converter now attached to ttyUSB5
sierra 1-1:1.6: Sierra USB modem converter detected
usb 1-1: APM supported, enabling autosuspend.
usb 1-2: Endpoint 1 MaxPacketSize 64
usb 1-2: Endpoint 2 MaxPacketSize 64
usb 1-2: Setting MaxPacketSize 64
usb 1-2: FTDI USB Serial Device converter now attached to ttyUSB6
usbcore: registered new interface driver ftdi_sio
usb 1-1: Sierra USB modem converter now attached to ttyUSB7
usbcore: registered new interface driver sierra
ftdi_sio: v1.5.0:USB FTDI Serial Converters Driver
sierra: v.1.7.30:USB Driver for Sierra Wireless USB modems
JFFS2 notice: (1382) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
g_serial gadget: Gadget Serial v2.4
g_serial gadget: g_serial ready
What is the port? I can set the port for the future?
-
AuthorPosts