creating new board
Posted: Sun Oct 30, 2011 6:35 pm
hello,
I am trying to create a new board in order to port ERIKA on the hardware I have at home. it's a http://www.dangerousprototypes.com/docs/Web_Platform, with a dsPIC33FJ128GP204.
as I did not find the related wiki pages straight away, I created a new CPU and board from the files found in ~/.eclipse/. After reading the wiki, I fixed a few things and still have the makefile to write.
I have managed to set define the LED pins and functions, but not for USB, SD card, EEPROM. Examples I've found still have a TODO above the USB section. I have not actively looked for SD or EEPROM yet. USB support on the WP is achieved with a FT232 chip, so it should be pretty straightforward to setup.
another problem I stumbled onto is understanding the configuration of the ethernet device. I copied code from ee_ethernet_enc28j60.h and included it directly in ee_board.h (the ethernet port is not an option on the WP), but could not figure out how to specify which of the CPU pins are used.
could I have some advice/help on how to get the missing peripherals defined and working?
thank you
I am trying to create a new board in order to port ERIKA on the hardware I have at home. it's a http://www.dangerousprototypes.com/docs/Web_Platform, with a dsPIC33FJ128GP204.
as I did not find the related wiki pages straight away, I created a new CPU and board from the files found in ~/.eclipse/. After reading the wiki, I fixed a few things and still have the makefile to write.
I have managed to set define the LED pins and functions, but not for USB, SD card, EEPROM. Examples I've found still have a TODO above the USB section. I have not actively looked for SD or EEPROM yet. USB support on the WP is achieved with a FT232 chip, so it should be pretty straightforward to setup.
another problem I stumbled onto is understanding the configuration of the ethernet device. I copied code from ee_ethernet_enc28j60.h and included it directly in ee_board.h (the ethernet port is not an option on the WP), but could not figure out how to specify which of the CPU pins are used.
could I have some advice/help on how to get the missing peripherals defined and working?
thank you