Questions about NuBrick

Prima
Posts: 109
Joined: 20 Mar 2017, 14:22

16 Jun 2017, 16:26

Good Morning Mr Prima.
 
We need help on using Nu Brick. End of 2016 we bought 6 pcs NuBricks. We buy because it is interested in IOT features and openness of architecture.
 
Since the arrival of the kit in Jogja, we have been using the kit via smartphone. When we wanted to reprogram the kit as needed, we encountered some difficulties. Details attached. We ask for help as soon as possible because we've tried various ways and follow the instructions on the web nuvoton but still fail.
 
That is our question. Awaiting for replies from Nuvoton ASAP. We thank you for your kind attention.

Programming using Keil

We have downloaded all necessary files and drivers. We tried to recompile the main.c file (as directed on the web and our assumptions) are the main files of the NuBrick board. Every time we compile, there is always a failure with the caption: The code size of this image (56220 bytes) exceeds the maximum allowed for this version of the linker. We've tried to modify Keil and look for other information but the results are always the same.
Please help with information how we can program the board according to our own needs? What has yet downloaded so that the compilation process always fails? Are there any other free editors / programmers we can use?

An example of a failed compilation result is shown in Figure 1.


Programming with Arduino IDE

According to the instructions in the manual, Nu Brick can be programmed using Arduino IDE. We are having trouble choosing the appropriate "board" type. We have downloaded all the drivers available online, but no board has yet matching Nu Brick.
Is there a special driver that can be sent to us so we can program Nu Brick using Arduino IDE as mentioned in manuals?
 


Nandra
Electrical Engineering UII
Attachments
Arduino MEga for NuBrick.png
Arduino MEga for NuBrick.png (735.06 KiB) Viewed 10873 times
Keil exceeds 32kB.png
Keil exceeds 32kB.png (118.94 KiB) Viewed 10873 times

Prima
Posts: 109
Joined: 20 Mar 2017, 14:22

16 Jun 2017, 16:27

Dear Pak Nandra,
 
Good morning and thank you for the question.
 
1. Your Keil code size exceeds 32KB. Keil free license max is 32KB.
2. We recommend to choose Arduino board option using Arduino Genuino Mega or Mega 2560.
 
thanks.
 
Regards,
Chris

Prima
Posts: 109
Joined: 20 Mar 2017, 14:22

16 Jun 2017, 16:28

Mr. Prima,
 
Thank you for the answer.
 
For the arduino, we try to upload files on two different Laptops (one windows and one mac) still fail to continue with the same error message.
 
What's lack from us?

Prima
Posts: 109
Joined: 20 Mar 2017, 14:22

16 Jun 2017, 16:30

Dear Pak Nandra,
 
When is the error occured, during Verification or Upload?
Please select the following settings, the Arduino version is 1.6.8.
Attachments
Arduino setting.jpg
Arduino setting.jpg (24.62 KiB) Viewed 10873 times

Prima
Posts: 109
Joined: 20 Mar 2017, 14:22

16 Jun 2017, 16:30

When uploaded, if verification alone can

Prima
Posts: 109
Joined: 20 Mar 2017, 14:22

16 Jun 2017, 16:32

Is the setting follow Nuvoton instructions as following ?
Is it already using Arduino version 1.6.8?
Attachments
Arduino setting MEga.png
Arduino setting MEga.png (112.84 KiB) Viewed 10873 times

Prima
Posts: 109
Joined: 20 Mar 2017, 14:22

16 Jun 2017, 16:34

Mr. Prima,
 
I try to program again using mac, setting I have adjusted, but result still like in attachment (timeout communicating with programmer)
 
Additional notes, when my board connects to a laptop (mac), the laptop also detects the board as "memory" externally.
 
Please help again.
Attachments
Screen Shot 2017-05-10 at 2.09.37 PM.png
Screen Shot 2017-05-10 at 2.09.37 PM.png (1.01 MiB) Viewed 10873 times

Prima
Posts: 109
Joined: 20 Mar 2017, 14:22

16 Jun 2017, 16:36

How is the status in windows?
Is it the same?

Prima

Prima
Posts: 109
Joined: 20 Mar 2017, 14:22

16 Jun 2017, 16:38

Hi Pak Nandra,
 
I saw you use Arduino not version 1.6.8, that is Arduino 1.6.12,
Please use Arduino 1.6.8

Thanks,
Prima
Attachments
Arduino 1.6.8.jpg
Arduino 1.6.8.jpg (19.36 KiB) Viewed 10873 times
Arduino 1.6.12.jpg
Arduino 1.6.12.jpg (22.32 KiB) Viewed 10873 times

Prima
Posts: 109
Joined: 20 Mar 2017, 14:22

16 Jun 2017, 16:43

Hi Pak Nandra,
 
What's the status now?
 
Make sure the PC recognizes this device.



We recommend using Nuvoton platform to develop, if you do not use Arduino before.
You can extend new devices with Extension Module without using Arduino.




Please click on the following link for more information

DG_NuMaker_Brick_M451_Series_EN_Rev1.01

Please follow the following for more information.

http://www.nuvoton.com/hq/support/tool- ... _locale=en

Please do not use Arduino, as the first option.
 
Let me know if you have any further questions.
thanks.
Attachments
NuBrick Platform.png
NuBrick Platform.png (158.39 KiB) Viewed 10873 times
COM9_detected.png
COM9_detected.png (4.86 KiB) Viewed 10873 times

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest