bigdragon1977 / stm32flash

Automatically exported from code.google.com/p/stm32flash
0 stars 0 forks source link

Mac OS X failure during flash #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. OS - Mac OS X Snow Leopard or Lion
2. latest svn - stm32flash
3. try flash

Does not matter what baud date I set. With python script for stm32 update, it 
works without any problem, so I guess there is some bug in stm32flash...

What is the expected output? What do you see instead?
100% success flash
-----------
./stm32flash -b 9600 -w firmware.bin /dev/tty.SLAB_USBtoUART
stm32flash - http://stm32flash.googlecode.com/

Using Parser : Raw BINARY
Serial Config: 9600 8E1
Version      : 0x22
Option 1     : 0x00
Option 2     : 0x00
Device ID    : 0x0410 (Medium-density)
RAM          : 20KiB  (512b reserved by bootloader)
Flash        : 128KiB (sector size: 4x1024)
Option RAM   : 15b
System RAM   : 2KiB

Wrote address 0x08000100 (0.43%) Wrote address 0x08000200 (0.86%) read_byte: 
Undefined error: 0
Assertion failed: (0), function stm32_read_byte, file stm32.c, line 94.

Original issue reported on code.google.com by zex...@gmail.com on 17 Mar 2012 at 7:23

GoogleCodeExporter commented 9 years ago
Is it only writing to flash that fails? Are you able to read from flash?

Original comment by lists.to...@gmail.com on 24 Nov 2012 at 8:30

GoogleCodeExporter commented 9 years ago
Closing the report since there was no answer from the original submitter.

Original comment by lists.to...@gmail.com on 9 Dec 2013 at 11:22