Hardware setup
- Assemble tower system TWR-K70F120M and Brooklin Board as in figure below.
Don’t care slot position, but be careful to connect Primary and Secondary connector properly.
Take care at reference signed near PCI board connectors.
- Plug a Pmod Device (i.e. DS3231M Real Time Clock) inside properly connector.
–> Be careful to see device reference next to connector.
Each connector is designed for one or more devices and will only accept dedicated modules.
- Plug Mini USB type-B cable into Cpu Board plug and connect to PC with Codewarrior. TWR power led will on
- If you see device tab, you will find OSBDM/OSJTAG debug port
- plug the standard serial DB9 cable into serial connector on Tower System
- connect serial cable to terminal PC (equipped with terminal SW)
- On your terminal PC setup COMx parameter:
speed = 115200 baud
data with = 8
parity = none
stop bit = 1
flow control = none
Now you are ready for install FW project.
Brooklyn Board FW setup
- Extract from Pmod1_6.zip the folder Pmod1_6 and place it into Codewarrior default workspace
- start Codewarrior. Select “workspace” as in default window and click OK.
Now we could see the welcome window of Codewarrior Developement Suite
maybe will open firewall popup as below
if yes, left-clik on enable access and proceed
- close the welcome window by clicking ‘X‘ in the Welcome tab
Now we can see the Codewarrior main window
Codewarrior is ready to import the project
Pmod FIRMWARE IMPORT
- Select File –> Import and click
- in the next tab select “Existing Project into Workspace” and click “NEXT”
- in the next window make the following step
1 - click on Brouse button.
2 - select folder “Pmod1_6” as below.
3 - click on OK button.
- select checkbox “Pmod1_6(C:\User\ my_foder_name \workspace\Pmod1_6) and “Copy projects into workspace”
- click “Finish”
How to build Brooklyn Board FW
- see Codewarrior Project tab an selec the project “Pmod1_6”, right-clik over, select “Clean Project” an clik
when process finish, see at hammer icon and click right arrow: in the tab you can see “1 FLASH” checked
now click single-hammer icon to build entire project
See the “problems” tab. There are 2 warnings derived from original project. They have no functionallity effects.
see the bug icon and click right arrow, select “Debug configurations” and click
Debug Configurations tab will open
expand Codewarrior Download, select “Pmod1_FLASH_PnE U-Multilink” an click. Now we see
click on “Debug” button and wait
maybe will open firewall popup as below
if yes, left-clik on enable access and proceed
during firmware download this tab will open
and when download finish you see the main debug windows of Codewarrior
to start program you can press “F8” or click on Icon red-circled in image above
NOTE: for full Codewarrior functionallity please refer to Freescale Official Guide
download here Codewarrior Guide
Running Brooklyn Board FW
When you start program, in terminal window you can see for few seconds this screen
and after you can see the main menu
Now select device menu (typing selection key in the terminal window) and follow menu option to test device.
It is strongly recommended to change or insert Pmod Modules when Tower System is off (without power).
Then, turn off the power by disconnecting the Mini USB B-type cable, remove device (if present) and insert new module in properly connector.
Turn on the power by plug the Mini USB B-type cable. The program will restart. Follow same steps used before to test new device