Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
programming 1.8V controller
#1
Hi,

I'm using STM32F466 at 1.8V with Embitz 2.0. Sometimes it happens that ST-Linkv2 reads out "only" 1.79V and EBlink refuses to program the chip.
It would be nice if EBlink would accept 100mV tolerance here.
Reply
#2
Well, that's easy to solve.
Just overrule the VCC in the interface settings by 1.8

   

Background:

If you look into the flash/f7_f4_f2.script file you can see where it did go wrong and how that VCC_VOLTAGE is overruling the detected voltage

Code:
<snip...>         // Check the voltage and set the right flash strategy         if (isScriptObject("VCC_VOLTAGE") && VCC_VOLTAGE>0)         {             voltage = VCC_VOLTAGE             printf("CLI vcc voltage: %f \n", voltage)         }         else             voltage = intrfApi.targetVoltage()         if(voltage  < 1.8) <-- without override this throws your error         {           _n_throw(ERROR_VOLTAGE)         } <..snip>
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)