Skip to main content
RPari.3
Associate II
June 17, 2021
Question

"Error: Characters cannot be mapped using Cp1252 character coding"

  • June 17, 2021
  • 1 reply
  • 1316 views

Hi,

I am using STM32F407 MCU. I am writing a code for Bootloader. For the same, when I try to change the flash memory address in the flash link description file (STM32F407VGTx_FLASH.ld) to run my main App code, I get the error "CHARACTER CANNOT BE MAPPED USING Cp1252 character coding".

I have generated the code using CubeMX and building it with AC6 workbench.

I have attached the screenshot of error.Kindly,do find it and help me with the problem.

Thanks

Rakshita

This topic has been closed for replies.

1 reply

TDK
Super User
June 17, 2021

You probably have an extended ASCII character somewhere in the file.

https://stackoverflow.com/questions/3598117/unable-to-create-a-file-with-foreign-language-characters

"If you feel a post has answered your question, please click ""Accept as Solution""."