Replies: 1 comment
-
I would be very grateful for any hint.
thank you I am now also in the Discord channel with the question. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problems with deployment on NUCLEO-F091RC
I tried default empty project with Debug.WriteLine and Blinky examples and sometimes deployment is OK sometimes not. See output.
I have two new ST_NUCLEO64_F091RC boards and both have the same problem.
Attached the output of once it is working 10 seconds later without changing anything stops working.
For two days I have been trying to find a comprehensible reason for the fact that I don't work, but without success.
Please help
VS version: Microsoft Visual Studio Enterprise 2019 Version 16.11.22
VS extension version: 2019.12.0.41
System Information
HAL build info: nanoCLR running @ ST_NUCLEO64_F091RC
Target: ST_NUCLEO64_F091RC
Platform: STM32F0
Firmware build Info:
Date: Apr 21 2023
Type: MinSizeRel build with ChibiOS v2021.11.3.11
CLR Version: 1.8.1.154
Compiler: GNU ARM GCC v12.2.1
Has nanoBooter: YES
nanoBooter: v1.8.1.154
IFU capable: NO
Has proprietary bootloader: NO
AppDomains:
Assemblies:
NFApp1, 1.0.0.0
mscorlib, 1.14.3.0
System.Device.Gpio, 1.1.28.0
nanoFramework.Runtime.Events, 1.11.6.0
Native Assemblies:
mscorlib v100.5.0.18, checksum 0xCCE8376E
nanoFramework.Runtime.Native v100.0.9.0, checksum 0x109F6F22
nanoFramework.Hardware.Stm32 v100.0.5.1, checksum 0xFE16F347
nanoFramework.ResourceManager v100.0.0.1, checksum 0xDCD7DF4D
nanoFramework.System.Collections v100.0.1.0, checksum 0x2DC2B090
nanoFramework.System.Text v100.0.0.1, checksum 0x8E6EB73D
nanoFramework.Runtime.Events v100.0.8.0, checksum 0x0EAB00C9
EventSink v1.0.0.0, checksum 0xF32F4C3E
System.Device.Gpio v100.1.0.6, checksum 0x097E7BC5
System.Device.I2c v100.0.0.2, checksum 0xFA806D33
System.Device.Pwm v100.1.0.4, checksum 0xABF532C3
System.IO.Ports v100.1.6.1, checksum 0xB798CE30
System.Device.Spi v100.1.2.0, checksum 0x3F6E2A7E
++++++++++++++++++++++++++++++++
++ Memory Map ++
++++++++++++++++++++++++++++++++
Type Start Size
++++++++++++++++++++++++++++++++
RAM 0x20000000 0x00008000
FLASH 0x08000000 0x00040000
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++ Flash Sector Map ++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Region Start Blocks Bytes/Block Usage
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
0 0x08000000 5 0x000800 nanoBooter
1 0x08002800 82 0x000800 nanoCLR
2 0x0802B800 41 0x000800 Deployment
+++++++++++++++++++++++++++++++++++++++++++++++++++
++ Storage Usage Map ++
+++++++++++++++++++++++++++++++++++++++++++++++++++
Start Size (kB) Usage
+++++++++++++++++++++++++++++++++++++++++++++++++++
0x08000000 0x002800 (10kB) nanoBooter
0x08002800 0x029000 (164kB) nanoCLR
0x0802B800 0x014800 (82kB) Deployment
Deployment Map
Empty
09:38:52.207 [Starting deployment transaction from v2019.12.0.41+076e0df1f2]
09:38:52.209 [Starting debug engine on nanoDevice]
09:38:52.255 [Connecting to debugger engine...OK]
09:38:52.491 [Assemblies to deploy:]
09:38:52.491 [Assembly: NFApp1 v1.0.0.0 (648 bytes)]
09:38:52.590 [Assembly: mscorlib v1.14.3.0 (31876 bytes)]
09:38:52.618 [Assembly: System.Device.Gpio v1.1.28.0 (5868 bytes)]
09:38:52.619 [Assembly: nanoFramework.Runtime.Events v1.11.6.0 (3412 bytes)]
09:38:52.620 [Deploying 4 assemblies to device]
09:38:52.864 [Incrementally deploying assemblies to the device]
09:38:52.928 [Erasing block @ 0x0802B800...]
09:38:52.928 [Deploying 0/41804 bytes.]
09:38:52.932 [Deploying 500/41804 bytes.]
09:38:53.024 [Deploying 1000/41804 bytes.]
09:38:53.024 [Deploying 1500/41804 bytes.]
09:38:53.048 [Deploying 2000/41804 bytes.]
09:38:53.076 [Erasing block @ 0x0802C000...]
09:38:53.232 [Deploying 2048/41804 bytes.]
09:38:53.232 [Deploying 2548/41804 bytes.]
09:38:53.233 [Deploying 3048/41804 bytes.]
09:38:53.233 [Deploying 3548/41804 bytes.]
09:38:53.264 [Deploying 4048/41804 bytes.]
09:38:53.328 [Erasing block @ 0x0802C800...]
09:38:53.328 [Deploying 4096/41804 bytes.]
09:38:53.440 [Deploying 4596/41804 bytes.]
09:38:53.440 [Deploying 5096/41804 bytes.]
09:38:53.440 [Deploying 5596/41804 bytes.]
09:38:53.473 [Deploying 6096/41804 bytes.]
09:38:53.501 [Erasing block @ 0x0802D000...]
09:38:53.631 [Deploying 6144/41804 bytes.]
09:38:53.645 [Deploying 6644/41804 bytes.]
09:38:53.645 [Deploying 7144/41804 bytes.]
09:38:53.647 [Deploying 7644/41804 bytes.]
09:38:53.686 [Deploying 8144/41804 bytes.]
09:38:53.855 [Erasing block @ 0x0802D800...]
09:38:53.871 [Deploying 8192/41804 bytes.]
09:38:53.871 [Deploying 8692/41804 bytes.]
09:38:53.871 [Deploying 9192/41804 bytes.]
09:38:53.871 [Deploying 9692/41804 bytes.]
09:38:53.899 [Deploying 10192/41804 bytes.]
09:38:53.929 [Erasing block @ 0x0802E000...]
09:38:53.956 [Deploying 10240/41804 bytes.]
09:38:54.078 [Deploying 10740/41804 bytes.]
09:38:54.080 [Deploying 11240/41804 bytes.]
09:38:54.080 [Deploying 11740/41804 bytes.]
09:38:54.112 [Deploying 12240/41804 bytes.]
09:38:54.300 [Erasing block @ 0x0802E800...]
09:38:54.300 [Deploying 12288/41804 bytes.]
09:38:54.300 [Deploying 12788/41804 bytes.]
09:38:54.300 [Deploying 13288/41804 bytes.]
09:38:54.300 [Deploying 13788/41804 bytes.]
09:38:54.324 [Deploying 14288/41804 bytes.]
09:38:54.379 [Erasing block @ 0x0802F000...]
09:38:54.395 [Deploying 14336/41804 bytes.]
09:38:54.459 [Deploying 14836/41804 bytes.]
09:38:54.460 [Deploying 15336/41804 bytes.]
09:38:54.498 [Deploying 15836/41804 bytes.]
09:38:54.539 [Deploying 16336/41804 bytes.]
09:38:54.564 [Erasing block @ 0x0802F800...]
09:38:54.594 [Deploying 16384/41804 bytes.]
09:38:54.665 [Deploying 16884/41804 bytes.]
09:38:54.671 [Deploying 17384/41804 bytes.]
09:38:54.713 [Deploying 17884/41804 bytes.]
09:38:54.760 [Deploying 18384/41804 bytes.]
09:38:54.792 [Erasing block @ 0x08030000...]
09:38:54.824 [Deploying 18432/41804 bytes.]
09:38:54.843 [Deploying 18932/41804 bytes.]
09:38:54.957 [Deploying 19432/41804 bytes.]
09:38:54.982 [Deploying 19932/41804 bytes.]
09:38:54.982 [Deploying 20432/41804 bytes.]
09:38:54.985 [Erasing block @ 0x08030800...]
09:38:55.014 [Deploying 20480/41804 bytes.]
09:38:55.062 [Deploying 20980/41804 bytes.]
09:38:55.315 [Deploying 21480/41804 bytes.]
09:38:55.315 [Deploying 21980/41804 bytes.]
09:38:55.315 [Deploying 22480/41804 bytes.]
09:38:55.315 [Erasing block @ 0x08031000...]
09:38:55.315 [Deploying 22528/41804 bytes.]
09:38:55.315 [Deploying 23028/41804 bytes.]
09:38:55.316 [Deploying 23528/41804 bytes.]
09:38:55.339 [Deploying 24028/41804 bytes.]
09:38:55.538 [Deploying 24528/41804 bytes.]
09:38:55.538 [Erasing block @ 0x08031800...]
09:38:55.538 [Deploying 24576/41804 bytes.]
09:38:55.538 [Deploying 25076/41804 bytes.]
09:38:55.538 [Deploying 25576/41804 bytes.]
09:38:55.554 [Deploying 26076/41804 bytes.]
09:38:55.612 [Deploying 26576/41804 bytes.]
09:38:55.615 [Erasing block @ 0x08032000...]
09:38:55.648 [Deploying 26624/41804 bytes.]
09:38:55.696 [Deploying 27124/41804 bytes.]
09:38:55.728 [Deploying 27624/41804 bytes.]
09:38:55.762 [Deploying 28124/41804 bytes.]
09:38:55.983 [Deploying 28624/41804 bytes.]
09:38:55.983 [Erasing block @ 0x08032800...]
09:38:55.983 [Deploying 28672/41804 bytes.]
09:38:55.983 [Deploying 29172/41804 bytes.]
09:38:55.983 [Deploying 29672/41804 bytes.]
09:38:55.984 [Deploying 30172/41804 bytes.]
09:38:56.014 [Deploying 30672/41804 bytes.]
09:38:56.047 [Erasing block @ 0x08033000...]
09:38:56.094 [Deploying 30720/41804 bytes.]
09:38:56.109 [Deploying 31220/41804 bytes.]
09:38:56.158 [Deploying 31720/41804 bytes.]
09:38:56.190 [Deploying 32220/41804 bytes.]
09:38:56.226 [Deploying 32720/41804 bytes.]
09:38:56.365 [Erasing block @ 0x08033800...]
09:38:56.365 [Deploying 32768/41804 bytes.]
09:38:56.365 [Deploying 33268/41804 bytes.]
09:38:56.365 [Deploying 33768/41804 bytes.]
09:38:56.413 [Deploying 34268/41804 bytes.]
09:38:56.445 [Deploying 34768/41804 bytes.]
09:38:56.467 [Erasing block @ 0x08034000...]
09:38:56.509 [Deploying 34816/41804 bytes.]
09:38:56.541 [Deploying 35316/41804 bytes.]
09:38:56.637 [Deploying 35816/41804 bytes.]
09:38:56.637 [Deploying 36316/41804 bytes.]
09:38:56.668 [Deploying 36816/41804 bytes.]
09:38:56.678 [Erasing block @ 0x08034800...]
09:38:56.827 [Deploying 36864/41804 bytes.]
09:38:56.827 [Deploying 37364/41804 bytes.]
09:38:56.827 [Deploying 37864/41804 bytes.]
09:38:56.827 [Deploying 38364/41804 bytes.]
09:38:56.861 [Deploying 38864/41804 bytes.]
09:38:56.891 [Erasing block @ 0x08035000...]
09:38:56.927 [Deploying 38912/41804 bytes.]
09:38:56.984 [Deploying 39412/41804 bytes.]
09:38:57.067 [Deploying 39912/41804 bytes.]
09:38:57.067 [Deploying 40412/41804 bytes.]
09:38:57.070 [Deploying 40912/41804 bytes.]
09:38:57.099 [Erasing block @ 0x08035800...]
09:38:57.165 [Deploying 40960/41804 bytes.]
09:38:57.166 [Deploying 41460/41804 bytes.]
09:38:57.206 [Assemblies successfully deployed to the device]
!!! nothing changed 10 seconds later !!!
09:39:05.001 [Starting deployment transaction from v2019.12.0.41+076e0df1f2]
09:39:05.003 [Starting debug engine on nanoDevice]
09:39:05.021 [Connecting to debugger engine...OK]
09:39:05.336 [Assemblies to deploy:]
09:39:05.336 [Assembly: NFApp1 v1.0.0.0 (648 bytes)]
09:39:05.524 [Assembly: mscorlib v1.14.3.0 (31876 bytes)]
09:39:05.556 [Assembly: System.Device.Gpio v1.1.28.0 (5868 bytes)]
09:39:05.558 [Assembly: nanoFramework.Runtime.Events v1.11.6.0 (3412 bytes)]
09:39:05.558 [Deploying 4 assemblies to device]
09:39:05.937 [Incrementally deploying assemblies to the device]
09:39:05.937 [Erasing block @ 0x0802B800...]
09:39:05.937 [Deploying 0/41804 bytes.]
09:39:05.937 [Deploying 500/41804 bytes.]
09:39:05.937 [Deploying 1000/41804 bytes.]
09:39:05.937 [Deploying 1500/41804 bytes.]
09:39:10.022 [Error writing 500 bytes to device @ 0x0802BDDC. No reply from nanoDevice.]
09:39:10.022 [*** ERROR deploying assemblies to the device ]
09:39:10.941 [Trying again to deploying assemblies]
09:39:17.009 [ ERROR: failed to get device execution state, aborting deployment ]
09:39:16.948 [ ERROR: deployment failed ***]
Then it can't work 10 times, or it can work again
Beta Was this translation helpful? Give feedback.
All reactions