ทำบอร์ด dsPIC33ep ครั้งแรกต้องดูอะไรบ้างครับ

Started by koonsai, March 09, 2013, 03:08:16 PM

Previous topic - Next topic

koonsai

ผมลองอีกครั้งครับ ต่อไปที่ PGED1 PGEC1 (จากวันก่อนไปใช้ชุด 2)ใช้ MPLAB X IDE v.1.60 กดปุ่ม Make and Program Device คับ

มันได้แบบนี้

Connecting to MPLAB PICkit 3...
Firmware Suite Version.....01.28.40
Firmware type..............dsPIC33E/24E

Target detected
Device ID Revision = 4003

The following memory area(s) will be programmed:
program memory: start address = 0x0, end address = 0x13ff

Programming...
Programming/Verify complete

แปลว่าผมโปรแกรมได้แล้วใช่ไหมครับ

p_chusak


wlasoi

Quote from: koonsai on March 22, 2013, 12:21:55 PM
ผมลองอีกครั้งครับ ต่อไปที่ PGED1 PGEC1 (จากวันก่อนไปใช้ชุด 2)ใช้ MPLAB X IDE v.1.60 กดปุ่ม Make and Program Device คับ

มันได้แบบนี้

Connecting to MPLAB PICkit 3...
Firmware Suite Version.....01.28.40
Firmware type..............dsPIC33E/24E

Target detected
Device ID Revision = 4003

The following memory area(s) will be programmed:
program memory: start address = 0x0, end address = 0x13ff

Programming...
Programming/Verify complete

แปลว่าผมโปรแกรมได้แล้วใช่ไหมครับ

การ Flash จะ Default ที่ ICSP ช่องแรกครับ PGED1 PGEC1 ส่วนช่องการทางเลือก PGEDx PGECx จะใช้ได้ต้อง config ก่อน (ผ่าน PGED1 PGEC1) และจะทำการได้เฉพาะ Incircuit Debug (อย่างเดียว) ในขั้นตอนการพัฒนาเท่านั้น ..  ถ้าจะลบหรือ Flash ใหม่ต้องกลับมาที่  PGED1 PGEC1  เหมือนเดิม .. ไม่ใช่ว่าจะแทนกันได้เลย  ... ผมจะทำ switch เลือกช่อง debug ครับในกรณีที่ขามันทับกันโดยเฉพาะ dsPIC30F4011 .. มันจะทับ I2C  ;D