• AVR Freaks

Hot!Harmony V3 SAM E70 & SAM C2x Tutorials won't build

Author
Howard Long
Super Member
  • Total Posts : 838
  • Reward points : 0
  • Joined: 2005/04/04 08:50:32
  • Status: offline
2020/09/17 13:42:22 (permalink)
0

Harmony V3 SAM E70 & SAM C2x Tutorials won't build

While I can get the three PIC32MZ/MX/MK tutorials to work, I can't get the SAM E70 or SAM C21 tutorials to build (from the microchipdeveloper . com website)
 
Both SAM builds show an error about "pic32c-ld.exe: cannot open linker script file ATSAMC21N18A.ld.00: No such file or directory"
 
This is when I build the tutorials from scratch myself, or use the pre-built versions provided.
 
I've tried MPLAB X 5.40 + XC32 2.41, and also MPLAB X 5.20 + XC32 2.20 (the latter being the tried and tested versions in the tutorial notes) and I see the same error. I can see that there are requisite base .ld files in the XC32 deployment, and all software is deployed to the default directories.
 
The Harmony V3 Framework is completely sync'd up.
 
OS is Windows 10 Professional x64 build 2004, on an Intel NUC8i7BEH, i7 8559U 4C8T, 32GB RAM, 2TB M.2 NVME SSD.
 

Attached Image(s)

#1

4 Replies Related Threads

    santosh123
    New Member
    • Total Posts : 1
    • Reward points : 0
    • Joined: 2020/09/17 21:34:00
    • Location: 0
    • Status: offline
    Re: Harmony V3 SAM E70 & SAM C2x Tutorials won't build 2020/09/24 00:08:01 (permalink)
    0
    Dear Howard Long,
     
    I used both the SAM E70 or SAM C21 tutorials demos (from the microchipdeveloper.com website) and both built well. I didn't see any issue to build and run the application on the respective devices. Based on your information, I felt you are using wrong DFPs (device family packs) version. I used "MPLAB X 5.40" and "XC32 2.41" to built and run the applications. I used below version dev_packs repository.
    dev_packs - https://github.com/Microc...ks/releases/tag/v3.7.0
    Please select the latest DFPs in project properties before you build the application.
     
    Thanks,
    Santosh
    #2
    Howard Long
    Super Member
    • Total Posts : 838
    • Reward points : 0
    • Joined: 2005/04/04 08:50:32
    • Status: offline
    Re: Harmony V3 SAM E70 & SAM C2x Tutorials won't build 2020/10/02 04:52:56 (permalink)
    0
    This fixed itself immediately once I'd installed the new XC32 2.50 and repointed the projects to the new compiler.
     
     
     
    #3
    Howard Long
    Super Member
    • Total Posts : 838
    • Reward points : 0
    • Joined: 2005/04/04 08:50:32
    • Status: offline
    Re: Harmony V3 SAM E70 & SAM C2x Tutorials won't build 2020/10/03 11:58:45 (permalink)
    5 (1)
    It turns out this was because I had MIPS specific options in my GCC specs file.
    #4
    Murton Pike Systems
    Senior Member
    • Total Posts : 49
    • Reward points : 0
    • Joined: 2020/09/10 02:13:01
    • Location: 0
    • Status: offline
    Re: Harmony V3 SAM E70 & SAM C2x Tutorials won't build 2020/10/03 15:03:45 (permalink)
    0
    Some of the early atsame 70 settings had problems.
    I hadnt set memory wait states to 6 and this stopped mine running.
    It then locked up at setting PIO's.
    After a lot of digging around I found it didnt like me using programming pins for i/o.
    I had used one programming pin for USB sense.
    When PIO set pin to input the programmer locked up.
    Moving the function elsewhere fixed the problem.
    Not only was programmer locking up but I had to do an erase cycle each time on the pic before it would program again which was tedious.
     
     
     
    #5
    Jump to:
    © 2020 APG vNext Commercial Version 4.5