Skip to main content
KYang.7
Associate
May 21, 2021
Solved

OS install error

  • May 21, 2021
  • 3 replies
  • 1013 views

I just got a stm32L475 Iot Kit.

And after compilation, I got this error .

st-flash 1.7.0-23-ga9adf9c

2021-05-21T22:17:24 INFO common.c: L4xx: 96 KiB SRAM, 1024 KiB flash in at least 2 KiB pages.

open(./BUILD/DISCO_L475VG_IOT01A/GCC_ARM/thingsboard-l475vg-iot01a.bin) == -1

2021-05-21T22:17:24 ERROR common.c: map_file() == -1

stlink_fwrite_flash() == -1

I don't know what this means.

Please tell me what I did wrong.

Thank you

This topic has been closed for replies.
Best answer by KYang.7
Hello,
Thank you for your answer of my question.
But never mind it, I already make it.
I compiled them on mbed online compiler on windows 10 and I copied a .bin file to my board.
It worked very goo.

Thank you anyway.

Kwansoo

3 replies

Amel NASRI
ST Technical Moderator
May 31, 2021

Hi @KYang.7​ ,

  • which example are you trying to compile?
  • what are you using as compiler?

-Amel

To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.
KYang.7
KYang.7AuthorBest answer
Associate
June 1, 2021
Hello,
Thank you for your answer of my question.
But never mind it, I already make it.
I compiled them on mbed online compiler on windows 10 and I copied a .bin file to my board.
It worked very goo.

Thank you anyway.

Kwansoo
Amel NASRI
ST Technical Moderator
June 1, 2021

Glad to know that all is working fine for you, @KYang.7​ .

-Amel

To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.