Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
d7dd708
Update README.md
oscaroflores Apr 1, 2025
d6f6c49
Added BIA Configuration
blancoricardo1 Apr 2, 2025
8abf174
Sd card set up
oscaroflores Apr 7, 2025
928dd13
Untracked .vscode folder
oscaroflores Apr 7, 2025
0282dfe
Untracked .vscode folder
oscaroflores Apr 7, 2025
84d7e95
Untracked only tasks.json file
oscaroflores Apr 7, 2025
1fc532d
Added gitignore file
oscaroflores Apr 7, 2025
d6023d2
Log file is written to sd card
oscaroflores Apr 11, 2025
abcc377
Removed gitignore tasks. need them to build ffs
blancoricardo1 Apr 22, 2025
cda3df7
Timestamps For Good
blancoricardo1 Apr 22, 2025
53363ff
150kHz Config in SFBIAsettings function.
blancoricardo1 Apr 22, 2025
b1c8769
removed prints
oscaroflores Apr 23, 2025
85a6143
Added ticks to sd
oscaroflores Apr 23, 2025
952e190
sd card now prints ticks to file
oscaroflores Apr 23, 2025
fd449bd
sd card module and app integration
oscaroflores Apr 24, 2025
8355068
added app file
oscaroflores Apr 24, 2025
f00840e
START/STOP command
blancoricardo1 Apr 26, 2025
e13a4cd
fixed jumps
blancoricardo1 Apr 28, 2025
8388d3a
Added functionak interrupt
blancoricardo1 Apr 29, 2025
0ff7964
removed debugging extras
blancoricardo1 Apr 29, 2025
03e8a2d
better start/stop (no polling isRecording)
blancoricardo1 Apr 29, 2025
e53073a
Fixed sampling rate
blancoricardo1 Apr 30, 2025
4559808
timestamps
blancoricardo1 May 1, 2025
a4597e6
Timestamps fixed
blancoricardo1 May 3, 2025
9b571b9
Miliseconds
blancoricardo1 May 3, 2025
3ab4d84
Timestamp reset on stop
blancoricardo1 May 4, 2025
e07c938
Update README.md
blancoricardo1 May 20, 2025
4cda67d
Update README.md
oscaroflores May 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added .gitignore
Empty file.
28 changes: 28 additions & 0 deletions .vscode/Reset.JLinkScript
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*********************************************************************
*
* ConfigTargetSettings
*
* Function description
* Called before InitTarget(). Mainly used to set some global DLL variables to customize the
* normal connect procedure. For ARM CoreSight devices this may be specifying the base
* address of some CoreSight components (ETM, …) that cannot be auto-detected by J-Link
* due to erroneous ROM tables etc. May also be used to specify the device name in case
* debugger does not pass it to the DLL.
*
* Notes
* (1) May not, under absolutely NO circumstances, call any API functions that perform target communication.
* (2) Should only set some global DLL variables
*
* Return value
* >= 0 O.K.
* < 0 Error
* -1 Unspecified error
*/
int ConfigTargetSettings(void) {
//
// Set reset strategy used by the J-Link to Reset + Halt After Bootloader Using Watchpoint.
//
JLINK_SYS_Report("-- Configure Reset Strategy --");
JLINK_ExecCommand("SetResetType = 2"); // Use RESETPIN (Resets core & peripherals using RESET pin.) Other reset strategies proved to be unreliable.
return 0;
}
23 changes: 23 additions & 0 deletions .vscode/flash_gdb_
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
target extended-remote : is a gdb command that allows
gdb to launch/kill processes on openocd remote side

openocd : launches openocd (gdb -> mcu bridge)

gdb port pipe : tells openocd to listen through pipe

init; reset halt : runs after configs are loaded.
Initializes openocd and resets target mcu so its reado for flashing



-- FLAGS --

| : "pipe" so gdb is being connected to
openocd subprocess through | (pipe)

-c : tells openocd to execute a command

-s : search for a path

-f : loads debug interface config file (in this case cmsis-dap.cfg).
This file tells openocd how to talk to debug probe on mcu.
3 changes: 3 additions & 0 deletions .vscode/manual_flash
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
arm-none-eabi-objcopy -O binary build/UPRM-Multi_Frq-BioZ-Research.elf build/UPRM-Multi_Frq-BioZ-Research.bin

openocd -s C:/MaximSDK/Tools/OpenOCD/scripts -f interface/cmsis-dap.cfg -f target/MAX32655.cfg -c "init; reset halt" -c "program build/UPRM-Multi_Frq-BioZ-Research.bin 0x10000000 verify reset; exit"
19 changes: 17 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"MAXIM_PATH": "C:/MaximSDK",
"terminal.integrated.env.windows": {
"Path":"${config:OCD_path};${config:ARM_GCC_path}/bin;${config:xPack_GCC_path}/bin;${config:Make_path};${env:PATH}",
"MAXIM_PATH":"${config:MAXIM_PATH}"
Expand All @@ -17,7 +18,7 @@
"target":"MAX32655",
"board":"FTHR_Apps_P1",

"project_name":"${workspaceFolderBasename}",
"project_name":"UPRM-Multi_Frq-BioZ-Research",

"program_file":"${config:project_name}.elf",
"symbol_file":"${config:program_file}",
Expand Down Expand Up @@ -82,6 +83,20 @@
"spi.h": "c",
"gpio.h": "c",
"mxc_sys.h": "c",
"mxc_errors.h": "c"
"mxc_errors.h": "c",
"spifunctions.h": "c",
"stdio.h": "c",
"stdint.h": "c",
"user-cli.h": "c",
"sdhc.h": "c",
"stdbool.h": "c",
"string.h": "c",
"mxc_pins.h": "c",
"max30009.h": "c",
"nvic_table.h": "c",
"tmr.h": "c",
"ff.h": "c",
"lfs.h": "c",
"cli.h": "c"
}
}
1 change: 1 addition & 0 deletions BioZApp
Submodule BioZApp added at 340ad5
78 changes: 0 additions & 78 deletions MAX30009.c

This file was deleted.

Loading