ErieRider

Member Since: April 25, 2007

Country: United States

  • I purchased this mini-breakout for the SAMD21 to determine if I can use it as basis of a development board for my embedded systems class. Since I want students to purchase the parts and assemble their own boards, I need them to use a Bootloader, not purchase their own Atmel ICE (they will use the department ICE once to flash the Bootloader). I ran into a lot of problems making this happen that I want to share with you so that you might not have to struggle as I did. First, the SAM-BA 2.16 utility in its current configuration is not usable, at all because it only allows you to flash .bin files starting at address 0x6000. Meanwhile, the bootloader you flash to the SAMD21 (with your ICE) assumes that the user program starts at address 0x1000 or 0x2000 depending on which you flash. You need to get yourself the SAM-BA 2.15 utility which Lars over at AVR freak generously uploaded here. Second, since the SAM-BA 2.15 utility only allows you to flash a user program starting at address 0x2000, you will need to flash the USART/USB combined bootloader onto your SAMD21 using the ICE. This combined bootloader assumes that user program will be flashed to address 0x2000. Third, in Atmel Studio you will need to compile your code so that it targets address 0x2000. To do this select Project -> Options -> Toolchain -> ARM/GNU Linker -> Miscellaneous and add: * -Wl,–section-start=.text=0x2000 at the end of the Linker Flags list. *Fourth, you need to ground out “pin 5” on the SAMD21 breakout when pressing the reset button. This will boot the SAMD21 into bootloader mode allowing the SAM-BA 2.15 utility to talk to the SAMD21 bootloader. I am probably forgetting several things, but this list should save you several hours. If you know of a version of the SAM-BA 2.15 or 2.16 utility that allows a user to flash to address 0x1000, I would be much obliged if you would provide a link. I hate wasting the 0x1000 bytes of memory on a kludge, but I am not in the mood to recompile the SAM-BA utility.

  • I’ve been trying to load Debian onto the Edison using this Console Block that I got as part of my starter pack using the instructions [https://learn.sparkfun.com/tutorials/loading-debian-ubilinux-on-the-edison] here. I am having no success - the the flashall.bat utility just will not connect to the Edison. Can I change the VID and PID in the flashall utility to make this work, or as Member #45485 comment seems to indicate, is this is a lost cause?

  • In case anyone else is wondering the ITG 3200 temperature format is not at all obvious. -13200 represents 35 Celsius, then every 280 counts is one degree Celsius. In other words…

    temperature = (TEMP_OUT_H << 8) | TEMP_OUT_L
    temperature = 35 + (temperature + 13200)/280
    
  • In case anyone else is laying out a circuit board, I measured the pin pitch at 0,05" The pins are 0.02" diameter. Contrary to the datasheet, there is no noticeable flat side of the package, you will have to orient them using the pins lengths.

  • Can anyone provide the exact pin pitch on these?

  • Purchased and verified that Digikey Part Number A100192-ND “Cable Assembly MINI CT 2POS” properly connects to the contact carrier.

  • I think that the cable assembly is available from digikey (part #A100192-ND). i haven’t purchased one yet, but the drawing looks spot on. Should solve your connectivity problems.

  • I think that the cable is available from digikey (part #A100192-ND). i haven’t purchased one yet, but the drawing looks spot on. Should sove your connectivity problems.

  • I have some serious bones to pick with this Dev board. The biggest snafu is that the HR (Heart Rate) pin from the RMCM01 (Polar receiver) is not broken out anywhere on the board! Duh, this is why I bought the board. Second, why is the PIC16F913 code protected? Anyone who buys this board to experiment with, might want to reflash it to stock form.
    The students in my Embedded class have to totally jury-rig the board to make it work on their project. totally uncalled for on a development board.
    That said, the RMCM01 works well with every heart rate strap that I own. The firmware on the PIC works well and is reasonably well documented.

  • The correct link for the third place entry is: http://ecse.bd.psu.edu/~csc104/pumpkin/pumpkin.html
    The link for the potato clock has some extra text attached to it

No public wish lists :(