Ameba RTL8722DM Mini

從官網上的連結

建议尝试一下下载 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

Dear Wyy,

After correct the SWDIO connection, I still get the “Failed to get the CPU status…” message.
( I am trying KM0 Bootloader first…)

  1. shoud I power the board while using SWD ?
    ( USB-plug ? mmm, I had tried…)
  2. Is the SWD interface default on ?
  3. Should I check the eFuse value ? Any eFuse samples by using Arduino?
  4. Any other advise ?

And, one more thing/clue:
1.if I connect the Vref to 3.3V on this Mini board, I’ll get the “J-Link Driver” error first…
if choosing “No” abort, the flow will go to “Failed to get CPU status…” error.
2 If I leave the Vref open, it directly goes into “Failed to get CPU status…” error.

Dear WYY,

Fixed !
I could “download active application” !
The jlink\windows keeps using the old jlink driver…

Thank you for your support …

1 Like