Electronic – Programming a JN5168-001-Mxx with a USBtinyISP

Networkspixbeezigbee

I'm researching different ZigBee implementations for a mesh network application.

I like NXP's JN5168-001-Mxx because it is cheaper than XBee (pricing for 200 units) and has a powerful uC. Mesh Bee seems to be an open source alternative to the JN5168-001-Mxx, but isn't competitive on price.

The biggest downside to the JN5168-001-Mxx is a lack of community support.

I can't find a specific SPI programmer on NXP's website to use with the JN5168-001-Mxx. My USBtinyISP is (supposedly) a general-purpose SPI programmer.

Would a USBtinyISP work with the Jennic JN51xx flash programmer (JN-UG-3007)? If not, what would?

Best Answer

Maybe I am late to answer this, but thought to share the ideas for others who may come across this question.

You can use FTDI FT232RL or any such USB to TTL converter, connect Rx/Tx of one with Tx/Rx of other, pull down pin 3 (SPIMISO), then pull down Reset (Pin 22), then release reset and then release SPIMISO. This sequence would put JN516x in programming mode. Starting the flash process then should transfer the code to your device. You can write a program to control the serial port of your computer, using which you can control various additional pins of FTDI to create the above mentioned sequence to put JN5168 in programming mode. For example, you can make use of CTS, RTS, DTR or other pins

Hope it helps