Skip to content

Test STM8S207RBT6 #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Test STM8S207RBT6 #61

wants to merge 1 commit into from

Conversation

larsbrinkhoff
Copy link
Owner

I got a STM8S207RBT6 board. It was recommended by @TG9541, thanks! It's a performance STM8S with plenty of room: 128K flash, 6K RAM, and 2K EEPROM.

@larsbrinkhoff
Copy link
Owner Author

Start by checking the old STM8S103 test program. There was some bit rot. With that fixed, I can program the device and get a blinking LED.

However, with the 207 part, I get this from stm8flash. It's likely some addresses have to be adjusted.

Determine FLASH area
Writing Intel hex file 562 bytes at 0x8000... Tries exceeded

@larsbrinkhoff
Copy link
Owner Author

Reading the flash contents seems to work fine though. Memory protection?

https://github.com/TG9541/stm8ef/wiki/STM8S-Programming#resetting-stm8s-devices-to-factory-defaults

@larsbrinkhoff
Copy link
Owner Author

I read out the option bytes and they are all 00 which ought to be good.

@larsbrinkhoff
Copy link
Owner Author

Tested writing "00 00 ff 00 ff 00 ff 00 ff 00 ff" to option bytes as pointed out in URL above and elsewhere, and now I can write to flash.

@TG9541
Copy link

TG9541 commented Nov 30, 2019

Hi Lars, just noticed the @ - good that it works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants