# New user - AMB82 compilation error

**URL:** <https://forum.amebaiot.com/t/new-user-amb82-compilation-error/2931>\
**Category:** SDK\
**Tags:** evb-amb82\
**Created:** [May 13, 2024, 10:30am UTC](https://forum.amebaiot.com/t/new-user-amb82-compilation-error/2931 "2024-05-13T10:30:39Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ankur](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/ankur/32/2085_2.png) [@ankur](https://forum.amebaiot.com/u/ankur)\
**Post date:** [May 13, 2024, 10:30am UTC](https://forum.amebaiot.com/t/new-user-amb82-compilation-error/2931/1 "2024-05-13T10:30:39Z")

</div>

Hello,  
I have just received my AMB82 Mini board and I am trying to get it working. I have installed the Arduino IDE 2.3.2 on a Windows 11 PC. I installed the board 4.0.6 and it all installed properly as per the messages.

When i try any of the example codes, i get a compilation error below :  
Compilation error: exit status 0xc0000135

This is even before I try to upload the code and then also i get the same error message.  
I clicked on the start debugging button and then i get this message :

Device Identifier is required for J-Link configurations. Please see [Supported devices](https://www.segger.com/downloads/supported-devices.php) for supported devices

I have the board and com port selected on top. Please let me know what I am doing wrong and how to fix this error.

thanks.

---

<div class="post-metadata">

**Author:** ![Pammy](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/pammy/32/936_2.png) [@Pammy](https://forum.amebaiot.com/u/Pammy)\
**Post date:** [May 14, 2024, 1:21am UTC](https://forum.amebaiot.com/t/new-user-amb82-compilation-error/2931/2 "2024-05-14T01:21:31Z")

</div>

Hi @ankur ,

you can try the pre release version instead.

Input [https://github.com/ambiot/ambpro2\_arduino/raw/dev/Arduino\_package/package\_realtek\_amebapro2\_early\_index.json](https://github.com/ambiot/ambpro2_arduino/raw/dev/Arduino_package/package_realtek_amebapro2_early_index.json) in Preference in Arduino IDE and install 4.0.7-build20240430 for current use.

For debugging example, we have noticed this issue recently and currently looking into it to see if it is an Arduino IDE version issue. We tried with v2.2.1 Arduino IDE, and its working, but not in v2.3.2.

---

<div class="post-metadata">

**Author:** ![Pammy](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/pammy/32/936_2.png) [@Pammy](https://forum.amebaiot.com/u/Pammy)\
**Post date:** [May 14, 2024, 2:13am UTC](https://forum.amebaiot.com/t/new-user-amb82-compilation-error/2931/3 "2024-05-14T02:13:22Z")

</div>

To allow debugging to work,

Please replace the following in debug\_custom.json

[  
{  
“name”: “JLink Attach”,  
“request”: “attach”,  
“configId”: “realtek:AmebaPro2:Ameba\_AMB82-MINI”,  
“server”: “jlink”,  
“servertype”: “jlink”,  
“device”: “Cortex-M33”,  
“serverArgs”: [“-timeout”, “10000”, “-confirm”, “0”, “-scriptfile”, “C:/Users/{USERNAME}/AppData/Local/Arduino15/packages/realtek/tools/ameba\_pro2\_tools/{TOOL\_VERSION}/debug/RTL8735B\_Arduino\_debug.JLinkScript”],  
“interface”: “swd”,  
“serverPath”: “{JLinkGDBServerCL.exe path}”,  
“serverpath”: “{JLinkGDBServerCL.exe path}”,  
“postAttachCommands”: [  
“pwd”,  
“monitor clrbp”,  
“monitor reset”,  
“continue”  
]  
}  
]

---

<div class="post-metadata">

**Author:** ![ankur](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/ankur/32/2085_2.png) [@ankur](https://forum.amebaiot.com/u/ankur)\
**Post date:** [May 14, 2024, 9:08am UTC](https://forum.amebaiot.com/t/new-user-amb82-compilation-error/2931/4 "2024-05-14T09:08:18Z")

</div>

Thank you. I will try the suggested fixes. The code you sent also mentions SEGGER, i looked but its not installed in my system. Is that something that comes in the SDK ?

Another question. The new board has a cover next to the antenna connector and that makes it very difficult to attach the tiny plug. In trying to do so, i have damaged the the connector on the antenna end. Will the the board still connect to wifi if the signal is strong ?

---

<div class="post-metadata">

**Author:** ![ankur](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/ankur/32/2085_2.png) [@ankur](https://forum.amebaiot.com/u/ankur)\
**Post date:** [May 14, 2024, 9:13am UTC](https://forum.amebaiot.com/t/new-user-amb82-compilation-error/2931/5 "2024-05-14T09:13:41Z")

</div>

Using the 4.0.7 build did fix the compiling issue and the code is now working :). Thank you.

---

<div class="post-metadata">

**Author:** ![Pammy](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/pammy/32/936_2.png) [@Pammy](https://forum.amebaiot.com/u/Pammy)\
**Post date:** [May 14, 2024, 9:26am UTC](https://forum.amebaiot.com/t/new-user-amb82-compilation-error/2931/6 "2024-05-14T09:26:30Z")

</div>

> [@ankur](#):
>
> SEGGER

We used JLink EDU to create the debugging example. You need to download the seggerGBD Server from their official website.

This is the guide for doing debugging on AMB82 Mini using Arduino IDE: [Debugging – Using the Debug Interface – Realtek IoT/Wi-Fi MCU Solutions](https://www.amebaiot.com/en/amebapro2-arduino-debug/)

> [@ankur](#):
>
> Will the the board still connect to wifi if the signal is strong ?

You can have a try but will definitely have some trouble connecting to WiFi if the antenna is not connected to the board or spoilt.

---

<div class="post-metadata">

**Author:** ![ankur](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/ankur/32/2085_2.png) [@ankur](https://forum.amebaiot.com/u/ankur)\
**Post date:** [May 14, 2024, 9:41am UTC](https://forum.amebaiot.com/t/new-user-amb82-compilation-error/2931/7 "2024-05-14T09:41:43Z")

</div>

Thank you, I will looking into SEGGER.

I am trying the NN Face Detection example now and even though I have changed the code for the ssid of my network, when I run it on the board it still trying to connect to amb82test , why would it be doing that ?

Can i find out the MAC address of the wifi interface ?

---

<div class="post-metadata">

**Author:** ![Pammy](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/pammy/32/936_2.png) [@Pammy](https://forum.amebaiot.com/u/Pammy)\
**Post date:** [May 14, 2024, 10:00am UTC](https://forum.amebaiot.com/t/new-user-amb82-compilation-error/2931/8 "2024-05-14T10:00:21Z")

</div>

In order to allow the board to connect to WiFi, Dualband Wi-Fi (2.4GHz/5GHz) ipex antenna is essential.

Previously user unable to connect to wifi as well as antenna is not connected to board.

> [@WIFI Networks not detected - ScanNetworks example](https://forum.amebaiot.com/t/wifi-networks-not-detected-scannetworks-example/2893):
>
> Received the Mini recently and after some issue with getting the SDK installed I am now testing. Started with “SingleVideoWithAudio”. Wifi never connected using the correct credentials and the same credentials I am using on an esp32 project. Changed to the “ScanNetworks” example and found the Mini does not detect ANY networks. Any ideas on how to solve this problem. Is there a specific version of the WIFI.h required? \*\* Scan Networks \*\* RFE type = 0 start\_addr=(0x4000), end\_addr=(0x800…
