Skip to content

Instantly share code, notes, and snippets.

@grrussel
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grrussel/23bbc0783185e2e71769 to your computer and use it in GitHub Desktop.
Save grrussel/23bbc0783185e2e71769 to your computer and use it in GitHub Desktop.
Connecting the Flexis JM Badge Board to Raspberry PI
pi@raspberrypi ~ $ lsusb
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 15a2:003f Freescale Semiconductor, Inc.
pi@raspberrypi ~ $ sudo mount -t vfat /dev/sda /mnt/badge/
pi@raspberrypi ~ $ ls /mnt/badge/
READY.TXT
pi@raspberrypi ~ $ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 1 968.8M 0 disk /mnt/badge
sdb 8:16 1 968.8M 0 disk
sdc 8:32 1 968.8M 0 disk
sdd 8:48 1 968.8M 0 disk
sde 8:64 1 968.8M 0 disk
sdf 8:80 1 968.8M 0 disk
sdg 8:96 1 968.8M 0 disk
sdh 8:112 1 968.8M 0 disk
mmcblk0 179:0 0 7.4G 0 disk
|-mmcblk0p1 179:1 0 1.4G 0 part
|-mmcblk0p2 179:2 0 1K 0 part
|-mmcblk0p3 179:3 0 32M 0 part
|-mmcblk0p5 179:5 0 60M 0 part /boot
`-mmcblk0p6 179:6 0 5.9G 0 part /
See http://www.cpustick.com/downloads.htm
StickOS for Freescale MCF51JM128 Badge Board Bootloader (v1.82*) (.S19, ColdFire Badge Board MST bootloader image)
Copy the S19 file onto the mounted badge
pi@raspberrypi ~ $ umount /mnt/badge
Unmounting seemed to trigger the flash load (see LED's on the board)
Disconnect board
Reconnect board
See StickOS scrolling banner on LEDs (Hurrah!)
pi@raspberrypi ~ $ lsusb
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 0403:a660 Future Technology Devices International, Ltd
reboot
Now see /dev/ttyACM0 exists (also, dmesg prints)
Setup minicom... as root, as it refused to save config otherwise...
sudo minicom -s -D /dev/ttyACM0
selecting the option “save setup as dfl”.
should make config file
pi@raspberrypi ~ $ cat /etc/minicom/minirc.dfl
# Machine-generated file - use "minicom -s" to change parameters.
pu baudrate 38400
pu bits 8
pu parity N
pu stopbits 1
See
http://cris.bytesnblades.net/2009/03/24/managing-minicom-settings/
and
http://www.cpustick.com/stickos.htm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment