![]() |
||
| siemens xt65 xt75 datasheet AT modem command schema Layout modem/gps/gsm/umts + internet free download Eagle CAD software |
Microchip 18Fxxxx + MCP2510(CAN) + USB + 32x I/O + software Explorer Board
Via USB or CAN, write / read / delete / mask / erase / goto etc
USB or CAN, you can launch multiple programs at PIC18F
Pc write 0xAAAA
in flash
(0x007010) pic18F
ben@ASRock:~/pic$ ./cmd /dev/ttyUSB0 050555
06107000AAAA
Pc read flash(0x007010)
pic18F
ben@ASRock:~/pic$ ./cmd /dev/ttyUSB0 030555
05107000
-5805055505
107000aaaac8
xbytes adres commandoX adresRam/flash slotsom

Pc write 0xBB in
ram (0x0700) pic18F
ben@ASRock:~/pic$ ./cmd /dev/ttyUSB0 030555
070007BB
Pc read ram(0x0700)
in pic18F
ben@ASRock:~/pic$ ./cmd /dev/ttyUSB1 020555
080007
-5803055508
0007bbd9
resultaat
xbytes adres commandoX adresRam/flash slotsom
| Pc read
through boardA
through canbus in
ram pic(0x0700) boardB
or C
or D etc. ben@ASRock:~/pic$ cmd
/dev/ttyUSB0 04a055aaaa
080007 -5804a056000008 0007dd = resultaat Pc reads through boardA
through canbus in
flash pic(0x000000) boardB
or C
or D etc. xbytes
adres extended-adres
commandoX
adresRam/flash |
![]() |
|
PC write
0xaa through boardA via CANbus in can
boardB
or
C
or
D etc. ben@ASRock:~/pic$ ./cmd /dev/ttyUSB0 04a055aaaa 024Daa
Pc reads
through boardA via canbus in can register
boardB
or C
or D etc. xbytes adres extended-adres commandoX adresRam/flash
|
![]() |
|
| Pc write
ProgrSample.hex in flash memory Pic18F ProgrSample.hex 1040000093908180A6C0B4F0C1EC06F0B4C0A6F0D5 :0A401000F6EC06F012008190120099 :1040200093908180A6C0B4F0C1EC06F0B4C0A6F0B5 :0A403000F6EC06F012008190120079 :1040400093908180A6C0B4F0C1EC06F0B4C0A6F095 :0A405000F6EC06F012008190120059 :1040600093908180A6C0B4F0C1EC06F0B4C0A6F075 :0A407000F6EC06F012008190120039 Pc write
ProgrSample.hex in flash memory Read flash |
||
| Pc read can registers ben@ASRock:~/pic$ ./rcr /dev/ttyUSB1 -00---0--1--2--3--4--5--6--7--8--9--a--b--c--d--e--f -0---ff-20-ed-2c-00-40-ee-ff-ff-80-ef-ff-00-38-00-00 -1---ff-20-ed-ff-ff-40-ee-ff-ff-80-ef-ff-00-00-00-00 -2---00-00-ff-ff-ff-e3-ff-ff-45-b1-44-03-04-40-00-00 -3---00-56-a0-00-00-06-05-00-00-00-93-b1-06-ee-00-00 -4---01-ee-40-4f-7b-08-04-80-08-13-cb-8e-5b-aa-00-00 -5---02-ef-80-f9-ef-08-06-00-0c-33-bb-c3-f8-3f-00-00 -6---00-55-a0-00-00-04-05-00-00-00-55-dd-ee-ff-00-00 -7---00-73-bb-9d-f2-73-ba-ff-de-ff-3b-de-8b-df-00-00 -8---ff-20-ed-2c-00-40-ee-ff-ff-80-ef-ff-00-38-00-00 -9---ff-20-ed-ff-ff-40-ee-ff-ff-80-ef-ff-00-00-00-00 -a---00-00-ff-ff-ff-e3-ff-ff-45-b1-44-03-04-40-00-00 -b---00-56-a0-00-00-06-05-00-00-00-93-b1-06-ee-00-00 -c---01-ee-40-4f-7b-08-04-80-08-13-cb-8e-5b-aa-00-00 -d---02-ef-80-f9-ef-08-06-00-0c-33-bb-c3-f8-3f-00-00 -e---00-55-a0-00-00-04-05-00-00-00-55-dd-ee-ff-00-00 -f---00-73-bb-9d-f2-73-ba-ff-de-ff-3b-de-8b-df-00-00 |
||
| Pc read bytes ram(
or
special function reg , TRISx, PORTx, etc)
ben@ASRock:~/pic$ ./rrr /dev/ttyUSB1 0007 -00---0--1--2--3--4--5--6--7--8--9--a--b--c--d--e--f -0---dd-dd-a8-12-49-4e-a8-00-24-82-c0-02-f8-00-a0-32 -1---90-ee-00-40-11-a8-86-41-00-81-18-01-48-84-24-08 -2---2d-13-2d-08-80-a0-70-00-91-88-1c-17-80-0e-06-0a -3---9b-ac-84-05-02-90-7e-60-09-a2-81-44-23-00-02-30 -4---a1-a9-50-06-60-22-44-00-80-04-82-10-86-c0-84-9a -5---52-00-20-75-d2-28-03-44-45-60-ac-10-45-48-21-08 -6---01-1c-11-90-20-8c-0a-01-04-99-0c-04-39-80-3b-00 -7---4b-80-16-68-b4-8a-00-62-41-00-d5-0c-41-6c-15-40 -8---89-1d-69-47-08-f0-0a-0c-20-d0-00-5a-40-22-f0-a7 -9---5c-00-06-16-10-28-7b-80-00-86-38-02-0a-31-13-00 -a---20-02-01-11-32-36-34-4c-91-22-08-1d-20-08-26-05 -b---54-09-10-91-00-b9-68-40-19-1a-80-c2-40-ea-00-80 -c---44-c0-42-74-19-20-8a-04-c0-80-32-05-2a-14-82-59 -d---d5-10-42-00-c4-50-b7-00-a5-10-04-91-05-31-0c-61 -e---14-81-06-ac-01-81-d0-30-e3-49-44-e0-81-96-7d-00 -f---d6-20-70-06-ac-02-64-e0-8c-22-02-13-70-06-86-00
|
||
| Pc read 256bytes flash ben@ASRock:~/pic$ ./rfr /dev/ttyUSB1 001000 -00----0----1----2----3----4----5----6----7- -0---1200-18c1-f8ff-17c1-f7ff-16c1-f6ff-14ef -1---08f0-01c1-d4f0-030e-d463-1200-07c1-f8ff -2---06c1-f7ff-05c1-f6ff-0900-f5cf-edf0-0900 -3---f5cf-edf0-0900-f5cf-edf0-0900-f5cf-edf0 -4---400e-ed61-1200-0900-f5cf-ebf0-0900-f5cf -5---eaf0-0900-f5cf-ecf0-0900-f5cf-e9f0-c4ec -6---09f0-ed2f-f0d7-69ec-09f0-1200-a0c0-b4f0 -7---c1ec-06f0-b4c0-a0f0-eaec-06f0-1200-810e -8---e46f-05ec-0af0-e8a0-36ec-08f0-16d1-a0c0 -9---b4f0-c1ec-06f0-b4c0-a0f0-eaec-06f0-1200 -a---820e-e46f-05ec-0af0-e8a0-47ec-08f0-05d1 -b---a0c0-b4f0-c1ec-06f0-b4c0-a0f0-eaec-06f0 -c---1200-840e-e46f-05ec-0af0-e8a0-58ec-08f0 -d---f4d0-a0c0-b4f0-c1ec-06f0-b4c0-a0f0-eaec -e---06f0-1200-030e-e46f-05ec-0af0-e8a0-f1d7 -f---a0c0-b4f0-c1ec-06f0-b4c0-a0f0-eaec-06f0 |
||
| 18F.. controller heeft
de volgende mogelijkheden • High-current sink/source 25 mA/25 mA • Three programmable external interrupts • Four input change interrupts • Up to 2 Capture/Compare/PWM (CCP) modules, one with Auto-Shutdown (28-pin devices) • Enhanced Capture/Compare/PWM (ECCP) module (40/44-pin devices only): - One, two or four PWM outputs - Selectable polarity - Programmable dead time - Auto-Shutdown and Auto-Restart • Master Synchronous Serial Port (MSSP) module supporting 3-wire SPI™ (all 4 modes) and I2C™ Master and Slave modes • Enhanced Addressable USART module: - Supports RS-485, RS-232 and LIN 1.2 - RS-232 operation using internal oscillator block (no external crystal required) - Auto-Wake-up on Start bit - Auto-Baud Detect • 10-bit, up to 13-channel Analog-to-Digital Converter module (A/D): - Auto-acquisition capability - Conversion available during Sleep • Dual analog comparators with input multiplexing • Programmable 16-level High/Low-Voltage Detection (HLVD) module: - Supports interrupt on High/Low-Voltage Detection |