Help compiling and loading programs on to the 1321XCSK-BDM development kit.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Help compiling and loading programs on to the 1321XCSK-BDM development kit.

1,150 Views
jonrea
Contributor I

I am new to freescale.  I just bought the 1321XCSK-BDM development kit for my senior project.  It comes with the Code Warrior IDE and BeeKit.  I have all the C-code written.  It so happens I cannot seem to figure out how to compile and load the programs on to the board.  Can anybody help?

0 Kudos
Reply
4 Replies

978 Views
BlackNight
NXP Employee
NXP Employee

I'm using CW for MCU10.x with the MC1321x boards/cards. You might check out

SMAC with Processor Expert | MCU on Eclipse

http://mcuoneclipse.com/2013/05/12/freedom-track-robot-with-ieee802-15-4/

above is using the SMAC Freescale stack with Processor Expert.

The RNet stack supports the MC1321x too:

http://mcuoneclipse.com/2013/11/17/rnet-a-simple-open-source-radio-network-stack/

To program the board, you need to use a BDM programming cable (e.g. P&E Multilink).

I hope this helps,

Erich

978 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

MC1321x is a bit old and it used to come with CW 6.2 originally. However, this has changed and actual codebases only support CW10x. Also, the BeeKit version that came with your kit might be old too. I would recommend you to download it form our website (it is free) in order to have the latest release with codebases supporting CW 10. You may also download and install CW 10.x in your PC. You should not have issues with that.

BeeKit: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=BEEKIT_WIRELESS_CONNECTIVITY_TOOLKIT

Moreover, MC1321x devices used to support full ZigBee stack a while ago but due to ite current implementation, the MC1321x memory footprint is unable to host it. You may use another 802.15.4 based stack such as SMAC, MAC or RF4CE, but ZigBee is no longer supported.  Here is a document explaining the differences between stacks:

http://cache.freescale.com/files/rf_if/doc/app_note/AN3403.pdf

0 Kudos
Reply

978 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

what version CW do you work with?

0 Kudos
Reply

978 Views
jonrea
Contributor I

10.5

I kind of getting the hang of it. Now I am trying to compile the file

drivers.c written by freescale and I get all of this missing semicolon

errors. But the semicolons are there. This file is for the SMAC on the

13192. Any ideas?

On Mar 6, 2014 12:04 AM, "ZhangJennie" <admin@community.freescale.com>

0 Kudos
Reply