-
New PCBs
01/12/2017 at 10:14 • 1 commentAfter the last error I now have the new boards these are the final version.
I can now start testing all the functions.
-
LED Blink Test
12/23/2016 at 13:43 • 0 commentsA little Blink WWAN LED - Test on the V1.1 Board (Comments will be translated later), Write the Little Code with mpasm.
main.asm
;list p=18f2550 include "p18f2550.inc" org 0x000800 ; Starte Programm goto init org 0x000808 ; Interuptvector High ; call or goto blablub org 0x000818 ; Interuptvector Low ; call or goto blablub org 0x000828 ; Erste Rotine auf Adr. 0x820 cblock 0x00 ; Variabeln ab 0x00 t1 ; Delay t2 ; Delay t3 ; Delay endc #define WPAN PORTC,0 ; WPAN LED #define WLAN PORTC,1 ; WLAN LED #define WWAN PORTC,2 ; WWAN LED include "portreg.inc" ; Ports einstellen (portreg) include "delay.inc" ; Software Delays (delay) ;include "i2c.inc" ; I2C Routinen init call portreg ; Ports einstellen main ; Mainschleife bsf WWAN call delay_1s bcf WWAN call delay_1s goto main end
delay.inc
delay_1s movlw 0x6d movwf t1 movlw 0x5e movwf t2 movlw 0x1a movwf t3 loop_1s decfsz t1, 1 goto loop_1s decfsz t2, 1 goto loop_1s decfsz t3, 1 goto loop_1s return
portreg.incportreg ; PORTA movlw B'00000000' ; PortA I/O setzen (1=In, 0=Out) (Reinfolge RB7,RB6...) movwf TRISA ; PortA I/O setzen clrf PORTA ; PORTB clrf PORTB ; PortB auf 0 setzen clrf LATB ; Data Latch löschen movlw B'00000011' ; PortB I/O setzen (1=In, 0=Out) (Reinfolge RB7,RB6...) (I2C Slave RB7/RB6 = input) movwf TRISB ; PortB I/O setzen movlw B'00001111' ; Alle I/0 Digital movwf ADCON1 ; PORTC movlw B'00000000' ; PortC I/O setzen (1=In, 0=Out) (Reinfolge RC7,RC6...) movwf TRISC ; PortC I/O setzen clrf PORTC ; PortC auf 0 setzen return
-
Find the Fail;-(
12/21/2016 at 11:40 • 7 commentsWait long Time for the new PCB, Error from me and OSHPark, OSHPark forgets the VIAs and I order in the wrong thickness, i Order new and wait for the New One.
Lock very nice its better as the First Version and not usable.
Can you see whats is not ok ?
-
Order Version 1.3 / Bootloaderfix
12/01/2016 at 10:05 • 2 comments- New version V1.3 ordered at OSHPark, some minor improvements, Quartz changed.
- Fix for the Bootloader, the EEPROM is now nullified by default, otherwise the first Programm will not start.
-
Wiring diagram
11/24/2016 at 22:05 • 0 comments -
Work on the next Version
11/24/2016 at 11:10 • 0 commentsWork on the next version, the first version is usable but not good enough for me.
Changes:
- Other Crystal
- Fix placement pressure
- Fix overlaps on the connector
- Remove Bootloder Jumper (JP1)
- Other Protopads
- Fix minor things in the libs
- More Bling Bling;)
-
Bootloader Works
11/22/2016 at 00:58 • 0 commentsI use the Bootloader V5 from
Http://www.sprut.de/electronic/soft/usboot/usboot.htm (German Page)
Https://goo.gl/Z53QYX (Translated Page)
This starts after the reset when RE3 is at GND, or when the EEPROM cell with the address 0xFE has the value 0xFF.
Drivers / Tools for Windows are included in the USBoot package (Not Tested),
For Linux I use a customized version of fsUSB (http://www.internetking.org/fsusb/), or Piklab.
The device has its own USB ID:
Bus 004 Device 002: ID 04d8: ff0b Microchip Technology, Inc.
-
PCBs V1.1
11/21/2016 at 18:24 • 0 commentsPCBs from OSH Park with some layout errors.
- Quartz footprint with too much soldering resist
- Smaller errors in the placement pressure
For initial tests the PCB is usable.
-
Test Tool
11/19/2016 at 12:52 • 0 commentsOrder a Test Tool for USB, to Test Power consumption, the connection and other things.
-
PCB-Order PCB V1.0
10/27/2016 at 16:17 • 0 commentsLong time ago ;(
Order a Proof of Concept PCB, wait for it, ETA ~3-4 Weeks ordert by OSH-Park