Comments (11)
Same issue using OSX here.
from la104.
did you use the "dfuload" tool to upload the firmware? https://github.com/gabonator/LA104/tree/master/resources/tutorial_building#flashing-and-first-run
from la104.
I'm not building it. I suspect the OP isn't either. I followed this section on the main readme, copied la014.hex
from la104.
I know, but the very last part of that tutorial is about flashing the firmware. The installation notes from the main page are not very accurate. On OSX you need to use the dfuload tool to upload the firmware (at least in my case direct copy did not work)
from la104.
Thanks for the quick replies. I'll give that a go. If it works and I get a chance I'll help updating the readme :D
from la104.
that would be great, my head hurts when I am reading that outdated notes.
from la104.
Notes as I go along.
GNU tool chain
can be downloaded from [here] (https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads/7-2018-q2-update)
Inconsistency
path is modified to include the toolchain
You will need to change the path to your arm toolchain by changing this line or by exporing the arm toolchain path: export PATH="/Users/gabrielvalky/Downloads/gcc-arm-none-eabi-7-2018-q2-update/bin/":"$PATH"
but later this path is coded into one of the scripts
Fix the path to arm toolchain in build.sh
Flashing
cp_la104.sh is located at system/os_host/
if you get the error Failed to open disk '/dev/disk2', errno:16
the drive at /Volumes will need to be unmounted.
sudo umount /dev/disk2
after flashing. turn the device off and on. It should now complain about missing shell.elf. I also had to unplug and re-plugin the usb port for the drive to remount.
from la104.
@gabonator thanks for your help so far. Can't build the shell right now. Any clues?
Marks-MacBook-Pro:test29_fileman markgascoyne$ ./build.sh
rm: output.elf: No such file or directory
/Users/markgascoyne/Downloads/gcc-arm-none-eabi-7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld: cannot find -lbios_la104
collect2: error: ld returned 1 exit status
arm-none-eabi-objdump: 'output.elf': No such file
./build.sh: line 11: ../../../../tools/elfstrip/elfstrip: No such file or directory
/Users/markgascoyne/Downloads/gcc-arm-none-eabi-7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld: cannot find -lbios_ds213
collect2: error: ld returned 1 exit status
arm-none-eabi-objdump: 'output.elf': No such file
./build.sh: line 16: ../../../../tools/elfstrip/elfstrip: No such file or directory
/Users/markgascoyne/Downloads/gcc-arm-none-eabi-7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld: cannot find -lbios_ds203
collect2: error: ld returned 1 exit status
arm-none-eabi-objdump: 'output.elf': No such file
./build.sh: line 21: ../../../../tools/elfstrip/elfstrip: No such file or directory
DS203 memory placement:
/Library/Developer/CommandLineTools/usr/bin/nm: error: output.elf: No such file or directory.
Marks-MacBook-Pro:test29_fileman markgascoyne$ ls -la
total 56
drwxr-xr-x 11 markgascoyne staff 352 Aug 25 16:57 .
drwxr-xr-x 4 markgascoyne staff 128 Aug 25 15:38 ..
-rw-r--r-- 1 markgascoyne staff 2286 Aug 25 15:38 CMakeLists.txt
-rwxr-xr-x 1 markgascoyne staff 834 Aug 25 15:38 app.lds
-rwxr-xr-x 1 markgascoyne staff 885 Aug 25 15:38 app_ds203.lds
drwxr-xr-x 4 markgascoyne staff 128 Aug 25 17:51 build
-rwxr-xr-x 1 markgascoyne staff 2178 Aug 25 16:57 build.sh
-rwxr-xr-x 1 markgascoyne staff 84 Aug 25 15:38 build_mac.sh
-rwxr-xr-x 1 markgascoyne staff 1616 Aug 25 15:38 build_wasm.sh
-rwxr-xr-x 1 markgascoyne staff 104 Aug 25 15:38 cp.sh
drwxr-xr-x 5 markgascoyne staff 160 Aug 25 15:38 source
Marks-MacBook-Pro:test29_fileman markgascoyne$
from la104.
Also I think I can simplify your build process by dockerizing the build. once I get everything building...:)
from la104.
you need to build libraries first in system/os_library by running build.sh
from la104.
It seems this discussion provides enough information for flashing LA104. The information provided in readme could be misleading and a flashing guide in separate document should be added. Looking for volunteers :)
from la104.
Related Issues (20)
- FPGA configuration error
- DS213 Web Oscilloscope application gives no data (Hard Fault) HOT 6
- LA104 WebUSB connection problem 2 HOT 2
- Strange pattern shown on "desktop" when exiting Logic analyzer app HOT 1
- Logic Analyzer crashes when run HOT 1
- DSO203 HW2.60, Windows 10/11 DFU HOT 11
- RFTool capture tab shows no data.
- Diff. between Flipper Zero and LA104 HOT 15
- Major refactoring needed HOT 6
- LA104 add new protocol into filmware HOT 5
- Dockerfile broken HOT 1
- Changes HOT 2
- Fresh compile is successful, but error booting HOT 6
- Test apps.
- Display battery level on main screen
- Boot loader for LA104
- Use La104 with DT71 tweezers HOT 1
- Replacing of external (usb) flash DS213 HOT 2
- Wave alchemy HOT 2
- How to exit Logic Analyzer app and go back to the app switcher GUI? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from la104.