When it will be implemented?
[SOLVED] STM32l0 support
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
-
Hi,
Sorry for the late reply, busy days...
We are currently working on STM32L0 support and hope to have this ready by the end of next week (maybe earlier).
It is planned to be part of V4.87a (beta).
- AlexPlease read the forum rules before posting.
Keep in mind, this is *not* a support forum.
Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
Should you be entitled to support you can contact us via our support system: segger.com/ticket/
Or you can contact us via e-mail. -
Hi,
Sorry for the delay. Busy days...
V4.88 has been released which comes with support for the L0 series devices.
Download-Link: segger.com/jlink-software.html
- AlexPlease read the forum rules before posting.
Keep in mind, this is *not* a support forum.
Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
Should you be entitled to support you can contact us via our support system: segger.com/ticket/
Or you can contact us via e-mail. -
- DLL/J-Flash: Added flash programming support for ST STM32L0x1, STM32L0x2 and STM32L0x3 devices. (Cortex-M0)
Hi,
unfortunately, the support for the STM32L052K8 is not working for us. The J-Link adapter cannot connect to the core.
If we setup "Cortex-M0+" as device, then it is connecting without any problem. Also a ST-Link V2 Debug-Interface is working without any problems.
It also seems that the sizes of RAM/ROM for the new devices are not correct sometimes in the presented selection table. -
Hi,
It would be *extremely* helpful if you could post some error messages etc. you are getting...
What software did you use to connect to the device?
Is J-Link Commander able to connect to the device / identify it?
Can you post the output of J-Link Commander?
What board are you using?
What I can say: It is working absolutely fine here on an eval board we used as reference. I will post the exact board name tomorrow.
- AlexPlease read the forum rules before posting.
Keep in mind, this is *not* a support forum.
Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
Should you be entitled to support you can contact us via our support system: segger.com/ticket/
Or you can contact us via e-mail. -
Sure, sorry.
I have tried J-Link Commander and J-Link GDB server.
The RAM/ROM sizes do not match and the core type does not match. The STM32L052K8 features a Cortex-M0+ with MPU.
The STM32L052K8 has 64KB of flash, 2KB of EEPROM and 8KB RAM.
See here: st.com/st-web-ui/static/active…/datasheet/DM00108217.pdf
Output of J-Link commander (just started by clicking the desktop icon,
then I have entered "device stm32l052k8" after it automatically detected
the general Cortex-M0 core):
Source Code
- SEGGER J-Link Commander V4.88b ('?' for help)
- Compiled Jul 21 2014 16:17:04
- DLL version V4.88b, compiled Jul 21 2014 16:16:56
- Firmware: J-Link ARM V8 compiled Jul 17 2014 12:31:18
- Hardware: V8.00
- S/N: 5800XXXX
- VTarget = 3.041V
- Info: Found SWD-DP with ID 0x0BC11477
- Info: Found Cortex-M0 r0p1, Little endian.
- Info: FPUnit: 4 code (BP) slots and 0 literal slots
- Found 1 JTAG device, Total IRLen = 4:
- Cortex-M0 identified.
- Target interface speed: 100 kHz
- J-Link>device stm32l052k8
- Info: Device "STM32L052K8" selected (66 KB flash, 4 KB RAM).
- Reconnecting to target...
- Info: Found SWD-DP with ID 0x0BC11477
- Info: STM32 (connect): Can not attach to CPU. Trying connect under reset.
- Info: Found SWD-DP with ID 0x0BC11477
- Info: Found Cortex-M0 r0p1, Little endian.
- WARNING: Identified core does not match configuration. (Found: Cortex-M0, Config
- ured: Cortex-M3)
- Info: FPUnit: 4 code (BP) slots and 0 literal slots
- J-Link>
-
Output of J-Link GDB server(command line: -select USB -device STM32L052K8 -if SWD -speed 100):
Source Code
- SEGGER J-Link GDB Server V4.88b LogFile
- Logging started @ 2014-07-22 11:13
- 03-00000000-00-00000000-001F: SEGGER J-Link GDB Server V4.88b
- 03-00000000-00-00000000-000C: GUI Version
- 03-00000000-00-00000000-0037: JLinkARM.dll V4.88b (DLL compiled Jul 21 2014 16:16:56)
- 03-00000000-00-00000002-0023: -----GDB Server start settings-----
- 03-00000000-00-00000002-0023: GDBInit file: none
- 03-00000000-00-00000003-0023: GDB Server Listening port: 2331
- 03-00000000-00-00000003-0023: SWO raw output listening port: 2332
- 03-00000000-00-00000003-0023: Terminal I/O port: 2333
- 03-00000000-00-00000003-002D: Accept remote connection: localhost only
- 03-00000000-00-00000003-0021: Generate logfile: on
- 03-00000000-00-00000003-0022: Verify download: off
- 03-00000000-00-00000003-0021: Init regs on start: on
- 03-00000000-00-00000003-0022: Silent mode: off
- 03-00000000-00-00000003-0022: Single run mode: off
- 03-00000000-00-00000003-0025: Target connection timeout: 5 sec.
- 03-00000000-00-00000003-0023: ------J-Link related settings------
- 03-00000000-00-00000003-0022: J-Link Host interface: USB
- 03-00000000-00-00000003-0023: J-Link script: none
- 03-00000000-00-00000003-0023: J-Link settings file: none
- 03-00000000-00-00000003-0023: ------Target related settings------
- 03-00000000-00-00000003-002A: Target device: STM32L052K8
- 03-00000000-00-00000003-0022: Target interface: SWD
- 03-00000000-00-00000003-0025: Target interface speed: 100kHz
- 03-00000000-00-00000003-0025: Target endian: little
- 03-00000000-00-00000004-0017: Connecting to J-Link...
- 02-00000000-00-00000022-0035: Firmware: J-Link ARM V8 compiled Jul 17 2014 12:31:18
- 02-00000000-00-00000022-000F: Hardware: V8.00
- 02-00000000-00-00000034-0032: S/N: 5800XXXX returns O.K. (0030ms, 0030ms total)
- 03-00000000-00-00000034-0014: J-Link is connected.
- 02-00000000-00-00000035-0061: T0D74 000:035 JLINK_ExecCommand("device = STM32L052K8", ...) returns 0x00 (0001ms, 0031ms total)
- 02-00000000-00-00000035-0068: T0D74 000:036 JLINK_ExecCommand("SetFlashRewriteBehavior = 1", ...) returns 0x00 (0000ms, 0031ms total)
- 02-00000000-00-00000036-0041: T0D74 000:037 JLINK_GetFirmwareString(...) (0000ms, 0031ms total)
- 03-00000000-00-00000036-0035: Firmware: J-Link ARM V8 compiled Jul 17 2014 12:31:18
- 02-00000000-00-00000036-0050: T0D74 000:037 JLINK_GetHardwareVersion() returns 0x13880 (0000ms, 0031ms total)
- 03-00000000-00-00000036-000F: Hardware: V8.00
- 03-00000000-00-00000036-000D: S/N: 58007407
- 02-00000000-00-00000038-0049: T0D74 000:037 JLINK_GetHWStatus(...) returns 0x00 (0002ms, 0033ms total)
- 02-00000000-00-00000038-003C: T0D74 000:039 JLINK_EnableSoftBPs(ON) (0000ms, 0033ms total)
- 03-00000000-00-00000038-001A: Checking target voltage...
- 03-00000000-00-00000038-0016: Target voltage: 3.04 V
- 03-00000000-00-00000038-001D: Listening on TCP/IP port 2331
- 03-00000000-00-00000038-0017: Connecting to target...
- 02-00000000-00-00000038-0035: T0D74 000:039 JLINK_ClrError() (0000ms, 0033ms total)
- 02-00000000-00-00000040-0049: T0D74 000:039 JLINK_GetHWStatus(...) returns 0x00 (0002ms, 0035ms total)
- 02-00000000-00-00000046-0055: T0D74 000:041 JLINK_TIF_Select(JLINKARM_TIF_SWD) returns 0x00 (0006ms, 0041ms total)
- 02-00000000-00-00000048-0038: T0D74 000:047 JLINK_SetSpeed(100) (0002ms, 0043ms total)
- 02-00000000-00-00000048-0043: T0D74 000:049 JLINK_GetSpeed() returns 0x64 (0000ms, 0043ms total)
- 02-00000000-00-00000048-0077: T0D74 000:049 JLINK_SetResetType(JLINKARM_RESET_TYPE_NORMAL) returns JLINKARM_RESET_TYPE_NORMAL (0000ms, 0043ms total)
- 02-00000000-00-00000048-003B: T0D74 000:049 JLINK_SetResetDelay(0) (0000ms, 0043ms total)
- 02-00000000-00-00000048-0055: T0D74 000:049 JLINK_SetEndian(ARM_ENDIAN_LITTLE) returns 0x00 (0000ms, 0043ms total)
- 02-00000000-00-00000202-01EC: T0D74 000:049 JLINK_Connect() >0x108 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x21 TIF>STM32 (connect): Can not attach to CPU. Trying connect under reset. >0x108 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x21 TIF> returns 0xFFFFFFFF
- 02-00000000-00-00000202-0017: (0154ms, 0197ms total)
- 03-00000000-00-00000202-0023: ERROR: Could not connect to target.
- 03-00000000-00-00000202-0035: Target connection failed. GDBServer will be closed...
- 03-00000000-00-00002213-0037: Restoring target state and closing J-Link connection...
- 02-00000000-00-00002213-0041: T0D74 002:214 JLINK_IsOpen() returns 0x01 (0000ms, 0197ms total)
- 02-00000000-00-00002213-0056: T0D74 002:214 JLINK_ExecCommand("ClrAllBPs", ...) returns 0x00 (0000ms, 0197ms total)
- 03-00000000-00-00002402-0010: Shutting down...
The post was edited 2 times, last by tesler ().
-
Hi,
Thanks for posting.
Looks like a typo (and then copy & paste mistake) in the J-Link software...
We will investigate and correct this. The L0 series are definitely Cortex-M0+ and not M3...
- AlexPlease read the forum rules before posting.
Keep in mind, this is *not* a support forum.
Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
Should you be entitled to support you can contact us via our support system: segger.com/ticket/
Or you can contact us via e-mail. -
Hi,
We determined the problem here and already fixed it.
The fix will be included in the next official version of the J-Link software.
Best regards
ErikPlease read the forum rules before posting.
Keep in mind, this is *not* a support forum.
Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
Should you be entitled to support you can contact us via our support system: segger.com/ticket/
Or you can contact us via e-mail. -
SEGGER - Erik wrote:
Hi,
We determined the problem here and already fixed it.
The fix will be included in the next official version of the J-Link software.
Best regards
Erik
Can you give a hint when you will be releasing the new version?
Thanks,
Christian -
Hi Christian,
Tomorrow. It will be V4.90.
- AlexPlease read the forum rules before posting.
Keep in mind, this is *not* a support forum.
Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
Should you be entitled to support you can contact us via our support system: segger.com/ticket/
Or you can contact us via e-mail. -
Hi all,
Release has been rescheduled for Monday morning.
We are currently working on adding a new component to the software package, so this created some delay.
- AlexPlease read the forum rules before posting.
Keep in mind, this is *not* a support forum.
Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
Should you be entitled to support you can contact us via our support system: segger.com/ticket/
Or you can contact us via e-mail. -
Please read the forum rules before posting.
Keep in mind, this is *not* a support forum.
Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
Should you be entitled to support you can contact us via our support system: segger.com/ticket/
Or you can contact us via e-mail. -
Thanks! It is working now for the STM32L052K8 (incl. Flash Download + GDB server).
BR,
Christian -
Hi Christian,
Thanks for the confirmation.
We will close this thread then.
- AlexPlease read the forum rules before posting.
Keep in mind, this is *not* a support forum.
Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
Should you be entitled to support you can contact us via our support system: segger.com/ticket/
Or you can contact us via e-mail.
-
Share
- Facebook 0
- Twitter 0
- Google Plus 0
- Reddit 0