Jump to content
43oh

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>
Link to post
Share on other sites
  • 6 months later...
  • Replies 77
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

This topic was some kind of progress report. I had long holidays between June and October, without topic related activity. I have list of functions that must be supported by flasher. There are two poi

Complete CDC transfer between PC and programmer can be logged by enabling {$DEFINE CDCLOG} in flash.pas   Short manual manual.pdf

Now it is able to erase/flash/verify target devices. Flashing is based on word programming. Still have some problems with higher-speed block programing. Flashing is done with 32 KB pattern file (with

Posted Images

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:~ $

Link to post
Share on other sites
  • 1 year later...

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.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...