Proxmark5 & Proxmark3 Hardware abstraction layer - #3449
Conversation
|
You are welcome to add an entry to the CHANGELOG.md as well |
This achieves the goal of cross-platform compatibility.
… cross platforms.
In the project root directory, use msys2 to compile the latest commit (test compilation of RDV4, armsrc & bootrom):
In the bootrom directory, use msys2 to build bootrom:
Build for armsrc
The CMakeLists.txt file in the project root directory automatically includes ToolchainForArm.cmake, so I'm not sure why, but the .gitignore file is ignoring *.cmake files. If there are any missing *.cmake files, I apologize and will commit them as soon as possible. |
Conditional dependencies need to be implemented.
…weroff caused by NVIC reset.
|
@xianglin1998 nice progression :) |
|
ok, i will do that.🧐
…---Original---
From: "Philippe ***@***.***>
Date: Thu, Aug 6, 2026 20:43 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [RfidResearchGroup/proxmark3] Proxmark5 & Proxmark3 Hardware abstraction layer (PR #3449)
doegox left a comment (RfidResearchGroup/proxmark3#3449)
@xianglin1998 nice progression :)
Could you migrate all standalone modes? Many still contain "fpgaloader.h" and "ticks.h" and might need some more changes.
See tools/build_all_firmwares.sh
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
|
@doegox All standalone modes have been migrated successfully. |
…ched automatically.
|
|
||
| if (datalen != resp.length) { | ||
| PrintAndLogEx(WARNING, _RED_("The length of the data to write (%d) does not match the length " | ||
| "of the factory data read from device (%d)."), datalen, resp.length); |
| len -= packetSize; | ||
|
|
||
| size_t to_buffer = (available < g_config->buffer_size) ? available : g_config->buffer_size; | ||
| for (uint16_t i = 0; i < to_buffer; i++) { |
timeout--) are not cross-platform compatible. Iftimeout--is not used with additional clock conditions, please replace it with a timeout mechanism tied to a specific clock source, as the main clock frequency varies across different platforms./armsrc/fpgaloader.cand files within thecommon_armdirectory before this PR is merged into themasterbranch.hw ant_pm5 -m <8bit data>command can be used to modify the frequency and Q value. Note: High Q is only allowed at 125kHz/134kHz to prevent excessive resonant voltage from damaging the device.The bootrom depends on version_pm3.c, but currently there is no logic in the bootrom's CMakeLists.txt to generate this source file, so the bootrom project cannot be compiled yet.void ResetChip(void)function, which is implemented using NVIC Reset in the factory firmware. According to the AT32 manual, NVIC RESET takes up to 10-25ms to start. During this period, PB0 has already been released for a long time, so the RESET operation becomes a shutdown. Therefore, the flash process will fail.