Stefan Rueger
2063671a02
Merge pull request #1147 from mcuee/Xplained_Pro_PDI
...
Add xplainedpro_pdi programmer
2022-11-22 01:13:23 +00:00
Joerg Wunsch
8a61ae5acf
PR 1181 and 1185 done
2022-11-21 23:33:37 +01:00
Jörg Wunsch
3892c5a459
Merge pull request #1181 from dl8dtl/add_em_evr_for_openbsd
...
Add fallback for EM_AVR
2022-11-21 23:31:14 +01:00
Jörg Wunsch
13e0bd030f
Merge pull request #1185 from dl8dtl/workaround_1173
...
Add a workaround for issue #1173
2022-11-21 15:56:40 +01:00
Joerg Wunsch
461d75bbc7
Add Marius to the dev team as well
...
Marius handles the MSVC and CMake staff as well as the Github
runners.
2022-11-21 09:41:46 +01:00
Joerg Wunsch
f90e36f231
Add a workaround for issue #1173
...
The readline compat layer for libedit which otherwise provides native
readline functionality in NetBSD and MacOS appears to have a bug that
causes subsequent prompts to be delayed until another line is being
processed.
Re-installing the callback over and over again works around that, and
does not seem to harm with GNU libreadline.
2022-11-20 22:52:41 +01:00
Joerg Wunsch
ff478dcb83
PR 1182 done
2022-11-19 10:00:20 +01:00
Jörg Wunsch
6c3ce22b1e
Merge pull request #1182 from dl8dtl/rewrite_authors
...
Rewrite authors/copyrights
2022-11-19 09:55:23 +01:00
Joerg Wunsch
77ad26ddf4
Replace the hint to AUTHORS by an URL
...
Suggested by: Hans
2022-11-18 21:24:10 +01:00
Joerg Wunsch
efad24e3de
Rewrite authors/copyrights
2022-11-18 10:31:45 +01:00
Joerg Wunsch
2fc351750e
Add Stefan and Xiaofan to the list of authors
2022-11-18 10:26:01 +01:00
Joerg Wunsch
908e6b15da
Add NetBSD and OpenBSD to the build script
2022-11-17 21:20:07 +01:00
Joerg Wunsch
9df522a219
Add <sys/select.h> where appropriate
...
Under Posix systems, this header is documented to be required
when using select().
2022-11-17 14:14:22 +01:00
Joerg Wunsch
01be288b18
Add fallback for EM_AVR
...
OpenBSD still lacks this definition, so provide our own for
them.
2022-11-16 21:21:51 +01:00
Stefan Rueger
4c92030e3a
Update NEWS
2022-11-01 18:20:06 +00:00
Stefan Rueger
d211c4e5f5
Merge pull request #1164 from MCUdude/hvupdi-type2-fix
...
Fix Type 2 HV UPDI
2022-11-01 18:17:52 +00:00
Stefan Rueger
02fe08aed2
Open programmer before allocating part
...
So any programmer that knows exactly which part it is connected to
can set the -p part option should the user not have done so.
Also no longer exits main without closing open programmer.
2022-11-01 18:12:00 +00:00
MCUdude
577ee72db7
Fix Type 2 HV UPDI
...
Used on AVR-DD and AVR-Ex targets
2022-10-31 11:06:14 +01:00
Stefan Rueger
b5699663c4
Update NEWS
2022-10-29 11:05:25 +01:00
Stefan Rueger
50046da923
Merge pull request #1151 from dbuchwald/serialupdi_page_erase
...
Implementation of SerialUPDI page erase operation
2022-10-29 11:02:17 +01:00
Stefan Rueger
a3c04d294e
Merge pull request #1156 from mcuee/readline_macos
...
Readline macos
2022-10-29 11:00:06 +01:00
Stefan Rueger
d87eb14dc9
Make -p variable partdesc global
2022-10-29 10:55:58 +01:00
Stefan Rueger
87df3216cb
Make fileio() and do_op() arguments const where possible
2022-10-29 10:48:47 +01:00
Stefan Rueger
a1018999c4
Correct plural for message writing %d bytes in term.c
2022-10-26 08:42:03 +01:00
Stefan Rueger
418cf08e84
Change avrdude.conf.in comment on location of per-user config file
2022-10-25 18:13:28 +01:00
mcuee
5862a5b7e9
Use readline for github action macOS Homebrew
...
Update github action to use readline keg and not the default libedit under Homebrew
2022-10-24 08:50:57 +08:00
mcuee
79c43789a9
Update build.sh to use readline keg
...
For macOS Homebrew, readline is a keg. This change makes avrdude uses readline keg.
2022-10-24 08:47:02 +08:00
mcuee
f2a413d2dc
Merge branch 'avrdudes:main' into Xplained_Pro_PDI
2022-10-24 07:57:55 +08:00
Stefan Rueger
1dba916e06
Update NEWS
2022-10-23 23:33:56 +01:00
Stefan Rueger
3769332afd
Merge pull request #1142 from MCUdude/stk600-pdi
...
STK600 supports programming using PDI
2022-10-23 23:10:10 +01:00
Stefan Rueger
ec1e7156bd
Merge pull request #1154 from avrdudes/revert-1148-readline_mingw
...
Revert "Add readline for MSYS2 mingw32/mingw64 build"
2022-10-23 23:09:18 +01:00
Stefan Rueger
960bf7b959
Revert "Add readline for MSYS2 mingw32/mingw64 build"
2022-10-23 23:04:16 +01:00
Stefan Rueger
0ebf220315
Merge pull request #1148 from mcuee/readline_mingw
...
Add readline for MSYS2 mingw32/mingw64 build
2022-10-23 22:42:10 +01:00
Stefan Rueger
b1b4a180ba
Merge pull request #1146 from mcuee/readline_action
...
Add libreadline-dev for Linux github action build
2022-10-23 22:39:54 +01:00
Stefan Rueger
ae5b460859
Merge pull request #1141 from stefanrueger/paged
...
Always use paged access for programmers that serve bootloaders
2022-10-23 22:33:31 +01:00
Stefan Rueger
baaad71aa5
Support optiboot, optiboot_dx and optiboot_x bootloaders for -c arduino ( #1140 )
...
* If bootloaders are served, send word addresses for classic parts and
byte addresses for newer parts, eg, UPDI and PDI
* Load ext addr for stk500v1 bootloaders after grazing 64k boundaries
* Fix bootloader stk500v1 EEPROM r/w for classic parts with page size 1
2022-10-23 22:32:29 +01:00
Stefan Rueger
16922842be
Improve -B bitclock documentation
2022-10-23 22:26:07 +01:00
Stefan Rueger
2c7083f001
Merge pull request #1139 from steelman/isp-clock-error-message
...
Mention -B in the error message and document -F better
2022-10-23 21:59:21 +01:00
Stefan Rueger
4f6bab6303
Merge pull request #1138 from MCUdude/pic-detect-mode-cherry
...
Detect PICkit4 and SNAP in PIC mode
2022-10-23 21:57:26 +01:00
Stefan Rueger
5b008a04cf
Revamp terminal output: progress bar, callback and stdout/stderr ( #1132 )
...
* Print parms output to stdout
* Flush terminal writes and other minor changes
* Prepare terminal for periodic calls to programmer to reset bootloader WDT
* Only show progress reports for memories > 32 bytes or on -vv
* Freeze progress bar on serious error
* Allow cached r/w byte routines to be used in pgm->read_byte and pgm->write_byte
2022-10-23 21:56:45 +01:00
steelman
34fa2faba5
Look for ~/.config/avrdude/avrduce.rc configuration file ( #1131 )
...
* Look for ~/.config/avrdude/config configuration file
Traditionally per-user configuration files have been placed
in user's home directory with their names beginnig with a dot
to hide them from some tools like ls(1). However, the number
of programs following this convention have grown over time
to the point where the number of hidden files becomes inconvenient to
some users. For this reason the XDG Base Directory Specification[1]
specifies an alternate place to store configuration files under
~/.config directory.
This patch enables avrdude to look for ~/.config/avrdude/config
configuration file, if ~/.avrduderc doesn't exist.
[1] https://specifications.freedesktop.org/basedir-spec/basedir-spec-0.8.html
* Safely concatenate directories and configurations files and minor changes in docs
* Make stats variable available for WIN32 again in main.c
* Utilise full usr_config[] array space
* Check for xdg-style avrdude.rc file first before fallback ~/.avrduderc
Co-authored-by: Stefan Rueger <stefan.rueger@urclocks.com>
2022-10-23 21:52:54 +01:00
Dawid Buchwald
fa1c081a94
Implemented page erase operation for SerialUPDI
2022-10-23 15:06:06 +02:00
Dawid Buchwald
2230c05871
Merge pull request #1 from avrdudes/main
...
Merge latest avrdudes/avrdude main branch
2022-10-23 13:56:52 +02:00
mcuee
e300861505
Add readline for MSYS2 mingw32/mingw64 build
2022-10-23 14:40:04 +08:00
mcuee
4a5efa7635
Add xplainedpro_pdi programmer
...
This will fix https://github.com/avrdudes/avrdude/issues/1143 .
Xplained Pro should be able to support PDI mode as per the documentation.
Reference: take note that the following document does not cover UPDI support.
https://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-42096-Microcontrollers-Embedded-Debugger_User-Guide.pdf
Reference discussion:
* https://github.com/avrdudes/avrdude/pull/1139#issuecomment-1286760773
* https://github.com/avrdudes/avrdude/discussions/1019#discussioncomment-3569440
2022-10-23 14:24:57 +08:00
mcuee
21e372f639
Add libreadline-dev for Linux github action build
2022-10-23 14:03:33 +08:00
MCUdude
992e9666a3
STK600 supports programming using PDI
2022-10-22 12:51:03 +02:00
Łukasz Stelmach
c890ff90eb
Mention -B in the error message
...
One of possible problems of failed initialization is too hight frequency
of ISP clock. Mention using -B option as a possible solution.
Closes #1133
2022-10-21 02:33:34 +02:00
Stefan Rueger
b9396bcd02
Always use paged access for programmers that serve bootloaders
2022-10-21 00:56:43 +01:00
Łukasz Stelmach
9977f1ed12
Document meaning of -F during initialization
2022-10-20 19:52:35 +02:00