Replies: 2 comments 1 reply
-
Can you get the output from putty with baudrate 115200 ? |
Beta Was this translation helpful? Give feedback.
-
PS C:\Users\Administrator> nanoff --target ESP32_S3_BLE --masserase --verbosity diag --serialport COM5 --update Using COM5 @ 1500000 baud to connect to ESP32. OK Connected to: Trying to find ESP32_S3_BLE in stable repository...OK Updating to 1.12.1.115 Erasing flash... OK Executing esptool with the following parameters: Flashing firmware...OKSystem Information Firmware build Info: OEM Product codes (vendor, model, SKU): 0, 0, 0 Serial Numbers (module, system): Target capabilities: AppDomains: Assemblies: Native Assemblies: ++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++++++ Deployment Map ESP-ROM:esp32s3-20210327 |
Beta Was this translation helpful? Give feedback.
-
i debug the app:
Debug.WriteLine($"GCFree Mem: {nanoFramework.Runtime.Native.GC.Run(false)}");
NativeMemory.GetMemoryInfo(NativeMemory.MemoryType.Internal, out uint totalRamSize, out uint totalRamFree, out uint largestRamFree);
Debug.WriteLine($"Internal Mem: TotalSize-{totalRamSize} TotalFree-{totalRamFree} LargestFree-{largestRamFree}");
NativeMemory.GetMemoryInfo(NativeMemory.MemoryType.SpiRam, out uint totalSpiSize, out uint totalSpiFree, out uint largestSpiFree);
Debug.WriteLine($"SpiRam Mem: TotalSize-{totalSpiSize} TotalFree-{totalSpiFree} LargestFree-{largestSpiFree}");
and got the info:
GCFree Mem: 80928
Internal Mem: TotalSize-325264 TotalFree-51828 LargestFree-31744
SpiRam Mem: TotalSize-0 TotalFree-0 LargestFree-0
why the spiram not work?
//----------------------------------------------------------------------------------------------------------
PS C:\Users\Administrator> nanoff --target AtomS3 --masserase --verbosity diag --serialport COM5 --update
.NET nanoFramework Firmware Flasher v2.5.115+ab179997b8
Copyright (C) 2019 .NET Foundation and nanoFramework project contributors
** There is a new version available, update is recommended **
** You should consider updating via the 'dotnet tool update -g nanoff' command **
** If you have it installed on a specific path please check the instructions here: https://git.io/JiU0C **
Using COM5 @ 1500000 baud to connect to ESP32.
Reading details from chip...
Executing esptool with the following parameters:
'--port COM5 --chip auto --after no_reset_stub flash_id'
OK
Connected to:
ESP32-S3 (ESP32-S3 (QFN56) (revision v0.2))
Features WiFi, BLE, Embedded PSRAM 8MB (AP_3v3)
Flash size 16MB unknown from (manufacturer 0x133 device 0x8216)
PSRAM: 8MB
Crystal 40MHz
MAC E8:06:90:98:04:08
Trying to find AtomS3 in stable repository...OK
Extracting AtomS3-1.12.1.102.zip...OK
Updating to 1.12.1.102
Erasing flash...
Executing esptool with the following parameters:
'--port COM5 --chip esp32s3 --after no_reset_stub erase_flash'
OK
Flashing firmware...
Executing esptool with the following parameters:
'--port COM5 --baud 1500000 --chip esp32s3 --after hard_reset write_flash --flash_size 16MB 0x0 "C:\Users\Administrator.nanoFramework\fw_cache\AtomS3\bootloader.bin" 0x10000 "C:\Users\Administrator.nanoFramework\fw_cache\AtomS3\nanoCLR.bin" 0x8000 "C:\Users\Administrator.nanoFramework\fw_cache\AtomS3\partitions_16mb.bin"'
Flashing firmware...OK
//----------------------------------------------------------------------------------------------------------
System Information
HAL build info: nanoCLR running @ ESP32_S3 built with ESP-IDF c9763f6
Target: AtomS3
Platform: ESP32
Firmware build Info:
Date: Jan 4 2025
Type: MinSizeRel build, chip rev. >= 0, support for PSRAM
CLR Version: 1.12.1.102
Compiler: GNU ARM GCC v13.2.0
OEM Product codes (vendor, model, SKU): 0, 0, 0
Serial Numbers (module, system):
00000000000000000000000000000000
1000000000E86909848
Target capabilities:
Has nanoBooter: NO
IFU capable: NO
Has proprietary bootloader: YES
AppDomains:
Assemblies:
Native Assemblies:
mscorlib v100.5.0.19, checksum 0x445C7AF9
nanoFramework.Runtime.Native v100.0.10.0, checksum 0x0EAE898B
nanoFramework.Hardware.Esp32 v100.0.10.0, checksum 0x6A20A689
nanoFramework.Hardware.Esp32.Rmt v100.0.5.0, checksum 0xB97BFDE3
nanoFramework.Networking.Sntp v100.0.4.4, checksum 0xE2D9BDED
nanoFramework.ResourceManager v100.0.0.1, checksum 0xDCD7DF4D
nanoFramework.System.Collections v100.0.2.0, checksum 0x40DC251F
nanoFramework.System.Text v100.0.0.1, checksum 0x8E6EB73D
nanoFramework.System.IO.Hashing v100.0.0.1, checksum 0xEBD8ED20
nanoFramework.System.Security.Cryptography v100.0.0.3, checksum 0x343142CA
nanoFramework.Runtime.Events v100.0.8.0, checksum 0x0EAB00C9
EventSink v1.0.0.0, checksum 0xF32F4C3E
System.IO.FileSystem v1.1.0.4, checksum 0x1777E2FE
System.Math v100.0.5.5, checksum 0x9F9E2A7E
System.Net v100.2.0.11, checksum 0xD82C1452
System.Device.Adc v100.0.0.0, checksum 0xE5B80F0B
System.Device.Gpio v100.1.0.6, checksum 0x097E7BC5
System.Device.I2c v100.0.0.2, checksum 0xFA806D33
System.Device.I2s v100.0.0.1, checksum 0x478490FE
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
System.Runtime.Serialization v100.0.0.0, checksum 0x0A066871
System.Device.Wifi v100.0.6.4, checksum 0x00A058C6
++++++++++++++++++++++++++++++++
++ Memory Map ++
++++++++++++++++++++++++++++++++
Type Start Size
++++++++++++++++++++++++++++++++
RAM 0x3fcb5318 0x00022b68
FLASH 0x00000000 0x01000000
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++ Flash Sector Map ++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Region Start Blocks Bytes/Block Usage
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
0 0x00010000 1 0x1A0000 nanoCLR
1 0x001B0000 1 0x2E0000 Deployment
2 0x00490000 1 0x300000 Configuration
+++++++++++++++++++++++++++++++++++++++++++++++++++
++ Storage Usage Map ++
+++++++++++++++++++++++++++++++++++++++++++++++++++
Start Size (kB) Usage
+++++++++++++++++++++++++++++++++++++++++++++++++++
0x00490000 0x300000 (3072kB) Configuration
0x00010000 0x1A0000 (1664kB) nanoCLR
0x001B0000 0x2E0000 (2944kB) Deployment
Deployment Map
Empty
Beta Was this translation helpful? Give feedback.
All reactions