Jump to content
jazz

SBW MSP430F550x based programmer

Recommended Posts

There are 3 speed modes, selectable by -s switch (-s 0, -s 1, -s 2). Smart Write for 5xx/6xx devices is only supported in Fast Mode. Writing rates for 5xx/6xx in Medium / Fast Mode are calculated for each target device. Writing rate for 5xx/6xx in Slow Mode is fixed.

 

Slow Mode
Programmer MCLK 6 MHz, target device MCLK 1.5 MHz
Max SBW+ bus clock: PIO 0.5 MHz, TEST 1 MHz, RESET 1.5 MHz
MSP430x2xx flash clock: 1.5 MHz / 5 = 300 kHz
Write MSP430G2955: 28.4 KByte/s, MSP430F5659: 51.0 KByte/s, MSP430FR5959: 50.6 KByte/s
Verify: 55.0 KByte/s, Marginal Read: 72.8 KByte/s, CRC: 510.8 KByte/s
Quick Write: 11.2 KByte/s, Quick Read: 9.5 KByte/s

Medium Speed Mode
Programmer MCLK 12 MHz, target device MCLK 3 MHz
Max SBW+ bus clock: PIO 1 MHz, TEST 2 MHz, RESET 3 MHz
MSP430x2xx flash clock: 3 MHz / 8 = 375 kHz
Write MSP430G2955: 39.0 KByte/s, MSP430F5659: 91.9 KByte/s, MSP430FR5959: 101.1 KByte/s
Verify: 109.9 KByte/s, Marginal Read: 73.2 KByte/s, CRC: 1017.7 KByte/s
Quick Write: 22.4 KByte/s, Quick Read: 19.1 KByte/s

Fast Mode
Programmer MCLK 24 MHz, target device MCLK 6 MHz
Max SBW+ bus clock: PIO 2 MHz, TEST 4 MHz, RESET 6 MHz
MSP430x2xx flash clock: 6 MHz / 13 = 461.5 kHz
Write MSP430G2955: 48.3 KByte/s, MSP430F5659: 95.3 KByte/s, MSP430FR5959: 202.0 KByte/s
MSP430F5659 Smart Write: 196.9 KByte/s
Verify: 219.6 KByte/s, Marginal Read: 73.4 KByte/s, CRC: 2024.2 KByte/s
Quick Write: 44.8 KByte/s, Quick Read: 38.2 KByte/s
 

In CDC-Uart Bridge setup, RESET pin for devices #4 - #7 (that are not used) is used for Uart RX/TX.

 

post-26480-0-92378100-1432029794_thumb.gif

 

Updated files:

flash.zip

sbwp_1108.zip

 

Programmer firmware can be updated by CDC BSL.

D:\msp430>bsl -p com7 -f sbwp_1108.txt

File: "sbwp_1108.txt"

Total Time: 968 ms

D:\msp430>

Share this post


Link to post
Share on other sites

Programmer is updated for OS X support. Flashing is tested on Leopard (10.5.8) and Mavericks (10.9.5).

 

post-26480-0-59026500-1450109743_thumb.gif

 

MacBook-Pro:~ $ flash -f test_msp430f5510.txt -p /dev/cu.usbmodem1d121 -e -w -v -mr

File: "test_msp430f5510.txt"
Address: 08000  Words: 16384
Size: 32768 bytes

Get Device
# JTID Fuse Device Core Hard Soft LotWafer DieX DieY
0  91   OK   3080  1104  30   10  B15B9446 2000 1700
1  91   OK   3180  1104  12   12  013BB046 2700 2E00
2  91   OK   3180  1104  12   12  013BB046 1200 1E00
3  91   OK   3180  1104  12   12  013BB046 0D00 1E00
4  91   OK   3180  1104  12   12  013BB046 2A00 2100
5  91   OK   3180  1104  12   12  34449346 2200 3600

Erase

Write
Time: 449 ms  Speed: 71.3 KB/s

Verify
Time: 315 ms  Speed: 101.6 KB/s

Marginal Read
Mode File  #0   #1   #2   #3   #4   #5
  0  9EF7 9EF7 9EF7 9EF7 9EF7 9EF7 9EF7
  1  9EF7 9EF7 9EF7 9EF7 9EF7 9EF7 9EF7
Time: 477 ms  Speed: 67.1 KB/s

Release Device

Total Time: 1350 ms

MacBook-Pro:~ $

Share this post


Link to post
Share on other sites

It is completed. Board size is 3.8 x 3.8 cm (1.5 x 1.5 in).

 

post-26480-0-99681200-1482687003.jpg

 

Only CLI (open source) executable is needed on OS side, no dll / driver / installation, except (unsigned) inf file for Windows.

Basic version and version with Mailbox / UART / I2C bridges working on:

  • any Linux I tried: Ubuntu from 10 till 16, Fedora Workstation x86_64 23.10, openSUSE Leap 42.1 x86_64, CorePlus 6.4.1 (bootable USB stick)
  • OS X from Lion (10.7.5) till Yosemite (10.10.5)
  • Windows XP / 7

There will be website with all details about it. If you have any questions, let me know.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×