I can't configure the mkr1000 encryption chip.

I updated the Firmware on the MKR1000.

I removed anti-static foam.

But I can't configure the encryption chip.

I did everything I should do.

But Useless...... :frowning:

Try removing anything you have connected to pins 11 and 12 on your board.

Make sure the board is not sitting on anything conductive that might be shorting out the pins.

pert:
Try removing anything you have connected to pins 11 and 12 on your board.

Make sure the board is not sitting on anything conductive that might be shorting out the pins.

yeah i did

But The problem is still unresolved......

And mkr1000 is on the wooden table.

@songTW
I assume you're going through the Getting Started and it doesn't succeed provisioning your crypto chip.
I would make sure the following conditions are satisfied:

  • CreateAgent plugin is installed
  • you are using a compatible browser (Chrome works well, so does Safari on Mac)
  • you are able to upload a Blink example to your board using the Create online editor

if all that works then we can investigate further.
Have you used the board before removing the antistatic foam? (It happens more often than you can imagine)

let us know, we're here to help :slight_smile:
u.

ubidefeo:

  • CreateAgent plugin is installed
  • you are using a compatible browser (Chrome works well, so does Safari on Mac)
  • you are able to upload a Blink example to your board using the Create online editor

-yes.
-yes,I use Chrome.
-no,this is my first time use online editor.

ubidefeo:
Have you used the board before removing the antistatic foam? (It happens more often than you can imagine)

-no.

thank you so much for your help.

songTW:
-no,this is my first time use online editor.

Hi. What do you mean by "no". Do you mean that you tried to upload the Blink sketch and the upload failed, or do you meant that you never tried?

pert:
Hi. What do you mean by "no". Do you mean that you tried to upload the Blink sketch and the upload failed, or do you meant that you never tried?

I never tried it.

Thanks

Please do this:

  • Make sure the Arduino Create plugin is running on your computer.
  • Plug your MKR1000 into your computer with the USB cable.
  • Open the Arduino Web Editor: Arduino Cloud
  • Click the "Examples" tab on the left side of the screen.
  • Click on "01.Basics (6)".
  • Click on "Blink". This will open the Blink example sketch in the sketch pane.
  • Make sure "Arduino/Genuino MKR1000" is selected from the dropdown menu at the top of the sketch pane and that its port is recognized.
  • Click the right pointing arrow button (Upload) at the top of the sketch pane.

The Blink sketch should now be uploaded to your MKR1000. When the process finishes, you should see the text "Success: Done uploading Blink" on the green bar at the bottom of the sketch pane. Did the upload work for you?

This is my first attempt at mkr1000 and Arduino Create.
However, I encountered a problem when configuring the encryption chip.
I also tried the other three mkr1000(plus s?). This makes me feel funny and depressed.
So I can't use Arduino Create until I configure the encryption chip.

songTW:
So I can't use Arduino Create until I configure the encryption chip.

This is incorrect. Arduino Create has multiple services. You can't use Arduino IoT Cloud until you configure the encryption chip, but you can use Arduino Web Editor right away.

I tried it today, you are right,the upload is work. but I got the following error: "/home/builder/opt/arduino-builder/arduino-builder -compile -core-api-version 10611 -hardware /home/builder/opt/arduino-builder/hardware -hardware /home/builder/.arduino15/packages -tools /home/builder/opt/arduino-builder/tools -tools /home/builder/.arduino15/packages -built-in-libraries /home/builder/opt/libraries/latest -logger humantags -fqbn arduino:samd:mkr1000 -build-cache /tmp -build-path /tmp/062915633/build -verbose -prefs runtime.tools.linuxuploader.path=/home/builder/.arduino15/packages/arduino/tools/linuxuploader/1.5.1 -prefs runtime.tools.x86-linux-gcc.path=/home/builder/.arduino15/packages/arduino/tools/x86-linux-gcc/7.2.0 -prefs runtime.tools.CMSIS-Atmel.path=/home/builder/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0 -prefs runtime.tools.arc-elf32.path=/home/builder/.arduino15/packages/Intel/tools/arc-elf32/1.6.9+1.0.1 -prefs runtime.tools.openocd.path=/home/builder/.arduino15/packages/arduino/tools/openocd/0.10.0-arduino7 -prefs runtime.tools.arduino101load.path=/home/builder/.arduino15/packages/Intel/tools/arduino101load/2.0.1 -prefs runtime.tools.core2-32-poky-linux.path=/home/builder/.arduino15/packages/Intel/tools/core2-32-poky-linux/1.6.2+1.0 -prefs runtime.tools.nrf5x-cl-tools.path=/home/builder/.arduino15/packages/arduino/tools/nrf5x-cl-tools/9.3.1 -prefs runtime.tools.arm-linux-gcc.path=/home/builder/.arduino15/packages/arduino/tools/arm-linux-gcc/4.9.3 -prefs runtime.tools.bossac.path=/home/builder/.arduino15/packages/arduino/tools/bossac/1.7.0-arduino3 -prefs runtime.tools.i586-poky-linux-uclibc.path=/home/builder/.arduino15/packages/Intel/tools/i586-poky-linux-uclibc/1.6.2+1.0 -prefs runtime.tools.arduinoOTA.path=/home/builder/.arduino15/packages/arduino/tools/arduinoOTA/1.2.1 -prefs runtime.tools.CMSIS.path=/home/builder/.arduino15/packages/arduino/tools/CMSIS/4.5.0 -prefs runtime.tools.flashpack.path=/home/builder/.arduino15/packages/Intel/tools/flashpack/2.0.0 -prefs runtime.tools.avrdude.path=/home/builder/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8 -prefs runtime.tools.arm-none-eabi-gcc.path=/home/builder/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 -prefs runtime.tools.avr-gcc.path=/home/builder/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5 -prefs runtime.tools.dfu-util.path=/home/builder/.arduino15/packages/arduino/tools/dfu-util/0.9.0-arduino1 -prefs runtime.tools.sketchUploader.path=/home/builder/.arduino15/packages/Intel/tools/sketchUploader/1.6.2+1.0 -libraries /tmp/062915633/custom -libraries /tmp/062915633/pinned /tmp/062915633/Blink

Sketch uses 10996 bytes (4%) of program storage space. Maximum is 262144 bytes.

Programming with: Serial

Restarting in bootloader mode

Get port list before reset

[COM20 COM19 COM35 COM31 COM38]

Touching port COM38 at 1200bps

Set DTR off

Flashing with command:C:/Users/song/.arduino-create/arduino/bossac/1.7.0-arduino3/bossac.exe -i -d --port=COM37 -U true -i -e -w -v C:/Users/song/AppData/Local/Temp/arduino-create-agent375618816/Blink.bin -R

Set binary mode

readWord(addr=0)=0x20007ffc

readWord(addr=0xe000ed00)=0x410cc601

readWord(addr=0x41002018)=0x10010305

version()=v2.0 [Arduino:XYZ] Dec 20 2016 15:36:43

chipId=0x10010005

Connected at 921600 baud

readWord(addr=0)=0x20007ffc

readWord(addr=0xe000ed00)=0x410cc601

readWord(addr=0x41002018)=0x10010305

Atmel SMART device 0x10010005 found

write(addr=0x20004000,size=0x34)

writeWord(addr=0x20004030,value=0x10)

writeWord(addr=0x20004020,value=0x20008000)

Device : ATSAMD21G18A

readWord(addr=0)=0x20007ffc

readWord(addr=0xe000ed00)=0x410cc601

readWord(addr=0x41002018)=0x10010305

Chip ID : 10010005

version()=v2.0 [Arduino:XYZ] Dec 20 2016 15:36:43

Version : v2.0 [Arduino:XYZ] Dec 20 2016 15:36:43

Address : 8192

Pages : 3968

Page Size : 64 bytes

Total Size : 248KB

Planes : 1

Lock Regions : 16

Locked : readWord(addr=0x41004020)=0xffff

readWord(addr=0x41004020)=0xffff

readWord(addr=0x41004020)=0xffff

readWord(addr=0x41004020)=0xffff

readWord(addr=0x41004020)=0xffff

readWord(addr=0x41004020)=0xffff

readWord(addr=0x41004020)=0xffff

readWord(addr=0x41004020)=0xffff

readWord(addr=0x41004020)=0xffff

readWord(addr=0x41004020)=0xffff

readWord(addr=0x41004020)=0xffff

readWord(addr=0x41004020)=0xffff

readWord(addr=0x41004020)=0xffff

readWord(addr=0x41004020)=0xffff

readWord(addr=0x41004020)=0xffff

readWord(addr=0x41004020)=0xffff

none

readWord(addr=0x41004018)=0

Security : false

Boot Flash : true

readWord(addr=0x40000834)=0x7000a

BOD : true

readWord(addr=0x40000834)=0x7000a

BOR : true

Arduino : FAST_CHIP_ERASE

Arduino : FAST_MULTI_PAGE_WRITE

Arduino : CAN_CHECKSUM_MEMORY_BUFFER

Erase flash

chipErase(addr=0x2000)

done in 0.783 seconds

Write 11140 bytes to flash (175 pages)

write(addr=0x20005000,size=0x1000)

writeBuffer(scr_addr=0x20005000, dst_addr=0x2000, size=0x1000)

[========== ] 36% (64/175 pages)write(addr=0x20005000,size=0x1000)

writeBuffer(scr_addr=0x20005000, dst_addr=0x3000, size=0x1000)

[===================== ] 73% (128/175 pages)write(addr=0x20005000,size=0xbc0)

writeBuffer(scr_addr=0x20005000, dst_addr=0x4000, size=0xbc0)

[==============================] 100% (175/175 pages)

done in 0.077 seconds

Verify 11140 bytes of flash with checksum.

checksumBuffer(start_addr=0x2000, size=0x1000) = b4fa

checksumBuffer(start_addr=0x3000, size=0x1000) = d22f

checksumBuffer(start_addr=0x4000, size=0xb84) = 29c

Verify successful

done in 0.015 seconds

CPU reset.

readWord(addr=0)=0x20007ffc

readWord(addr=0xe000ed00)=0x410cc601

readWord(addr=0x41002018)=0x10010305

writeWord(addr=0xe000ed0c,value=0x5fa0004)

SAM-BA operation failed"

is this normal?

No, this is not normal. There is a report of this problem being caused by having your Arduino board connected to a USB 3 port:

The solution is to use one of the USB 2.0 ports on your computer, or if you don't have any, connect a USB 2.0 hub between your Arduino and the computer.

The upload problem you discovered is almost certain to be also the cause of the encryption chip configuration error you reported at the start of this thread, as that process requires uploading a sketch to your MKR1000. Since the sketch uploads are failing, the crypto chip can't be configured.

That is what my board was doing but some how i got it to configure the crypto chip.

Now I got this error: "We weren't able to configure the Crypto Chip."

songTW:
Now I got this error: "We weren't able to configure the Crypto Chip."

Did you get a successful upload using Arduino Web Editor yet?

I tried it again today. I successfully configured the chip. I think Arduino should have some restrictions.
Your suggestion is very useful to me, I am sincerely grateful.

I'm so glad to hear it's working for you now!

songTW:
I think Arduino should have some restrictions.

I don't understand what you mean by this. Would you mind providing more details about your proposal?

I saw Arduino Create have a "maker plan". If use the free plan, there is only 200 seconds of compilation time per day.