Ameba RTL8722DM Mini

Hi,在下完 uname 後呈現出來的訊息是 linux 沒錯
我在 toolchain/linux/asdk-6.4.1/linux/newlib/bin裡是有看到 arm-none-eabi-gcc


會不會是script沒有把環境變數設好呢? 謝謝

我刚在 Ubuntu 18 上 git clone 了 Github SDK, compile 时没出现这个问题。你在用哪个 branch?

從官網上的連結

建议尝试一下下载 release 版本

Hi ,
I am very very new about this board.
Here is my tools:
1.windows 10
2.using cygwin
3.sdk from github
4. Folloing this instruction:
https://github.com/ambiot/ambd_sdk#3-building-the-first-project-on-ameba-d

  1. BUT, I got this error message.
    make -C asdk image3_s
    make[1]: Entering directory ‘/cygdrive/d/GitHub/ambd_sdk/project/realtek_amebaD_va0_example/GCC-RELEASE/project_hp/asdk’
    ONLY 32-BIT CYGWIN IS SUPPORTED!
    make[1]: *** [Makefile:210: build_target_folder] Error 255

Any idea?
Thank you very much!

you need to install 32-bit cygwin instead of 64-bit. it can be found at https://www.cygwin.com/setup-x86.exe

Dear wyy,
Thanks for your quick reply !
Actually, I had tried this yesterday.

So, I have to try to let my Win10 be able to run this setup-x86.exe first ?
Thank you !

yes, you need 32-bit cygwin to compile the SDK

Dear wyy,
I have no luck on running this setup-x86.exe on my windows .
Any clue for me ?

Also, I had a Mac mini. Should I try the following “Linux” on the Mac system ?
Thansk!

can you provide more information on the system you are using? windows version, cpu, how old is it?

the SDK works on Mac as well, you can give it a try.

Dear wyy,
Here is my Windows info,
Thank you!

Hi @Vic

不是电脑的问题,是 Cygwin 32-bit 在 11 月停止更新弃用了。安装的话,需要开 cmd 用

setup-x86.exe --allow-unsupported-windows --site http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/2022/11/23/063457

这行指令才能跑。

1 Like

Dear wyy,
Got it , thank you .

One more thing, if I could use both cygwin and iar for building the code. Which one would you recommand ? I think code/build performance sould be my main concerns.

Thank you!
BR,
Vic

It really depends on preference.

From experience, Linux compiles the fastest. Cygwin and IAR should be roughly comparable.
If you are familiar with the IAR editor, then go ahead and use IAR. If you wish to use another editor, then you should use it and compile with Cygwin.

One more quick question:

Is SWD is the default ON after power-up ?

I am trying to use IAR + Jlink on the SWD interface . Any hardware configuration must apply ?
Cause I can run the “download active application”, and the message is
reset
.

Thank you & Happy New Year !

Thanks!

@Vic

Please refer to this page for the download procedure.

Dear WYY,

On trying “Download active application”,

I am still been blocked on this “reset error” message.
resetErr

Because I am using the MINI board, my swd wire connections are reference from here.
here.

The same jlink can use on : “00010055-sdk-ameba-v4.0c” + IAR + JTAG interface.

Any idea ?
Thank you !

@Vic

you should be connecting to this pin
Screenshot 2022-12-29 134919

Dear WYY,
connect SWDIO with that “red circle” ?
Thanks!

@Vic

yes