-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix bug in how the PG is handled for the 3.8V firefly supply #189
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
remove narrowing conversion warning
Rev1 updates, remove dead code
add a compile-time check on the VALM masks
pwittich
commented
Jun 25, 2023
pwittich
commented
Jun 25, 2023
hi @pwittich, sure I will create a new issue on what best to delay monitor tasks when semaphore is not taken on time. For the current state of the code, I have tested it in both Apollo205 and CM on the bench and nothing unexpected showing up. I guess we can merge it now? |
pkotamnives
added a commit
that referenced
this pull request
Sep 29, 2023
38d31f5 Merge commit 'ad28e5906ebe85a049cbb4b1fe8a69282201be87' into dev_zynqmon_path ad28e59 Squashed 'sm_cm_config/' changes from 137e4c2..4fbba1f db5d4a1 apply clang format (mostly to sm_cm_config) dadc7f5 Merge tag 'v0.99.5' into dev_zynqmon_path 06405f2 Squashed 'sm_cm_config/' content from commit 137e4c2 8d77252 Merge commit '06405f20a51b0cf5f5dc6adf0f3fb4cf32241309' as 'sm_cm_config' 598cf5d a better start bit scheme 142ccbb fix build failed bdbee5c add all inventory info and successfully sent 38de269 working version with all clock configs sent f65828d combine ff is present + is 25gbs to one data steam 9faf3a8 Merge branch 'dev_zynqmon_path' of github.com:apollo-lhc/cm_mcu into dev_zynqmon_path 836ce33 fix bugs for sending present bits 4d1a2e7 Merge branch 'master' into dev_zynqmon_path c709640 fix bug in the 2nd fpga i2c device response to ipmc (#193) 5f95c6a fix a bug from optical power check f94713b fix rev1 build failed c3aa400 success sending a clock config version to zynq (just r0a for now) e40172b fix build bug 3aee00c need a return to prevent codacy 8b44241 change configASSERT to if cond't 7c09f91 maybe last attempt to fix codacy 8c64db0 fix codacy 52a307d fix clang 53c4bc9 fix codacy 5728596 fix bug + codacy e38a77a fix codacy 01c42c2 fix clang format 4e272e2 fix cadacy complaint again 7ae9519 fix cadacy complaint again e2ce330 resolve built failed 3acf338 try resolve codacy again 8fc25af fix cadacy complaint again d9dee06 fix cadacy complaint a222b9e fix REV1 failed 2e5564e add clkconfig in zynq data 6e5cf78 try again de85809 try to solve shifting 32-bit by 251-bit 18c177a success sending clk + ff info except optical power 55307b3 modify zynqmon + assisted by mcu_generate for data d8483f2 sync code to sm_cm_config 9c01e0a enlarge ZM*ENTRIES 95bcaf1 separate 12-ch and 4-ch to send via zynqmon 7f933ee fix clock data type to be consistent with sm_cm_config cf92d98 fix codacy v3 9997053 fix codacy v2 ab346a7 fix codacy 624308c fix Clang 26f1476 Merge branch 'master' into dev_zynqmon_path 0435b16 a few numerical error e86da9a update README 96cca28 add optical power info to FFDAQ+FF12 w/ 25Gbs in MONI2C and Zynq bc04d3f Fix bug in how the PG is handled for the 3.8V firefly supply (#189) 2a56f47 add missing semaphore to FPGA monitoring task (#188) 7c0a6b7 clear clock sticky bits in initial task (#186) 29997b5 update count and start as in yaml_2 2f2d1c3 a minor clk bug c03180c add new zynqmon_data blocks for clk and ff's 12-ch part + present bit-mask d1a2c14 Add a power control state machine state 6 for controlling V3.8 needed for Samtec 12-ch 25Gbs (#183) cd555aa Turn FreeRTOS use into a submodule (#185) 8b122b8 Implement "all" argument for monitoring and resetting power supplies all at once (#180) d7c0957 Bugfix/gitversion zmon (#181) dd59ed7 Add information about Clock program into the CLI (#177) a545bca Bug fix: update how stale data is handled for monitor tasks (#178) 287b1f8 Alarm tasks for votages (#171) 1c5ddde I2c device fix (#175) 5045342 Add check to every Semaphore Take and Give (#168) 186f4aa GitHub actions fix (#172) 315d573 Bug fix: add 'DOWN' state to power control state machine strings (#170) 4af28bb add new 'powering down' state to PS state machine (#169) ef3f0c9 Improvement on sem_ctl + psreg (#167) 9e857db Semaphore cleanup (#165) 71a2ecf Fix misc bugs (#164) e37ed20 Add CLI to take/release I2C mutex (#154) fcebefd require a check on 3.3V power supply for loadclock (#157) 8ad8b7b CLI for turning on 3.8V for power supplies (#153) b923b86 Update makedefs (#152) db98ea8 detect first-time loading mcu FW (#145) 7525cb2 Fix hardcode in InitTask from issue #148 (#149) 2e85741 Hotfix for issues running on Rev1 (#146) c279268 only run clang-format GitHub action if there are changed files (#143) 34456be Automatically commit clang-format fixes (#142) 9a3c85f Implementing new monitor i2c task to replace ffl task and add clock registers (#136) 6cce566 add quit init clock loading if garbage EEPROM is detected (#138) ee0605d Allow override of PS configuration (#137) 383a9dd Various small cleanups and add GH action for formatting. (#134) 45cd2c0 Fix bug in interaction between power supply and alarm tasks (#133) fd88b9c Zynq monitoring generalization and updates for Rev2 (#132) 36f7c37 Read EEPROM first revision (#131) d19821c ADCMon and LOG updates (#130) ec7d7aa Clean up logging in Firefly Task and set/reset page register (#129) 3526ea6 Fix regression on I2C register reading (#128) 8322137 Code cleanup (#127) 637f5db Rev2b eeprom (#125) 4479f34 I/O expander initialization; GPIO CLI tool, some refinement of RTC interface (#122) 0b478bc Some minor string improvements (#121) e86a596 Simplify compilation (#120) 41c0a93 Update release.yml (#119) a78bdc9 Enable RTC in Hibernation module and add a basic CLI for setting it (#118) c9786d5 Add a more generic logger interface and continue Rev2 fixes (#116) b843918 MCU code for Rev 2 CM (#114) 85b6cfb use of I2C communications layer (#112) cb839a0 Create codeql-analysis.yml (#111) 9832804 Fix error in Zynq data path; watchdog task start (#110) 0731fc3 restore debug build compile (#109) 554138e Update release.yml (#108) 69c43b4 Update release.yml (#107) a379b34 Update release.yml (#106) c69c8bd Update release.yml (#105) 5a8f791 Release yml 2 (#104) 4303d65 Update release.yml (#103) 4a6a795 Release yml 2 (#102) fcb2034 Update release.yml (#101) 7dac447 Update release.yml (#100) c9a89b8 Update release.yml (#99) 8e9515f Update release.yml (#98) 1ca0c09 Ability to read SYSMON in both SLRs in VU7P (#95) d97fd98 Read Loss of Signal and CDR Loss of Lock Alarms (#93) 88a9a94 add github actions (move away from travis) (#97) 49be97d Clang build (#94) fdfc397 Update bug_report.md (#90) 4c70953 Firefly task updates for 12-wide 25 G devices (#88) 9d7f261 transferred all my changes to this new branch (#87) 53317dc Rev 2 preparation (#86) 881468e Minor cleanups (#83) 6aca086 Firefly disable cmds (#81) 5cd0794 Make fixes to I2CCommunication.c and clocksynth.c (#79) 123182e fixing the waiting time between preamble/programing/postamble for clock synthesizer programming (#78) 79dfaba Documentation updates. (#76) 2bc76fb Code reformat (#75) 08a9944 Initialization code for LGA80D power supplies (#71) 00a5ea3 Clean ups and bug fix in generic ALARM task (#70) 7e37189 Merge clocksynth into master (#69) bfc154f Update alarm task to allow different types of alarms (#67) 5c45b85 Ensure that NaNs and/or -55 (int) are sent when data is stale (#65) 9b34215 Fix error handling for power supply mask (#64) c0079b0 bug fix to address updated address table/missing data (#63) 4f53d42 Power supply state machine clean-up and debugging code (#62) 7e67c2e Fix bug in soft UART for MCU->ZYNQ data transfer (#61) 17d3d37 Write and read from arbitrary FF registers (#58) 985bd58 ff register ctl (#57) 7d96a84 Cleanups (#56) afa8bcc Better handling of asserts, hard faults (#52) 280bf1b boot loader updates * Update directory locations and paths to allow use of microrl library in multiple apps (boot loader) * Update to allow a forced update based on input from the current default UART. * move boot loader to projects subdirectory * allow switch between FP and Zynq UART * remove eclipse files successfully tested bootloader with CLI d48d759 Updates to error logger * new errors, continuation code * rename error logger cli 5038d89 System stack updates * increase the system stack size * put in a canary into the system stack on boot * turn on FreeRTOS Idle Hook and use it to monitor changes to the canary * also add a printout of the high water mark into the CLI 324860d Update .travis.yml (#49) 776b86e Softuart test candidate (#34) c50dedb fix rollover bug in uptime (#48) 36b40d7 Update makedefs (#46) a0a09b9 Temperature messages for error buffer (#45) 75b6526 some code clean up based on cppcheck running (#44) 4f97f84 New CLI interface (#43) 1db0ead Merge pull request #42 from apollo-lhc/eeprom_buffer 0e3966b Merge branch 'master' into eeprom_buffer ee15952 Merge branch 'eeprom_buffer' of github.com:apollo-lhc/cm_mcu into eeprom_buffer 98f5643 InitTask.c 37aa00d Merge pull request #41 from apollo-lhc/eeprom_buffer 3b06d8e Merge branch 'master' into eeprom_buffer d811480 message counter for eeprom buffer 2c912ae Fix incorrect ADC channel mapping (#40) 331bd69 fix missing protection for FF registers and others (#38) ac5b10c 2nd attempt for release integration (#37) 231079f include release deployments into CI build process (#36) 9f6de3c add CLI command to check FPGA done* (#35) 497fbcf get variable # of entries for error buffer ab9be6e error buffer entry config bb83927 changed buffer init 7cdd3a3 Merge branch 'master' into eeprom_buffer 48055af EEPROM buffer working but incomplete f3334a2 Makefile 33da21d update 26b017c project file d818e5e WIP: eeprom buffer 588e082 I2c slave (#33) 14705f9 increased heap size 856a473 EEPROM return queue 6cf1b35 makefile update e377118 EEPROM Task - memory issue cf0cdb4 EEPROM gatekeeper task: read and write 4d369fe WIP: EEPROM gatekeeper task 105eabf Merge branch 'eeprom_buffer' of github.com:apollo-lhc/cm_mcu into eeprom_buffer d386303 EEPROM info 3446c5c some little fixes cb266e1 eeprom id block commands 49ccb66 switch to zynq uart for boot loader (#30) d1b846f Mark stale monitoring data in CLI (#29) 696d850 Gwen (#27): FPGA reset and eeprom for cm ID d1ea15a a few small edits 7ddc5e2 Some small additions to eeprom commands 33061c1 Some small additions to eeprom commands 882258e added EEPROM info command 729e5de added EEPROM read and write commands 15aab9a fixes to fpga reset 87d0cf5 Merge branch 'gwen' of github.com:apollo-lhc/cm_mcu into gwen 57ada7e added fpga reset dcd859b Merge pull request #25 from apollo-lhc/gwen be9f143 added include cf2546b added restart command 1cd9242 Flash bootloader (#22) c00d23b Power ctl (#24) e56328e Rename project2 to cm_mcu (#21) f0e4ed0 Add ECU0 14 G tx to output disable 86195bd Code cleanup, and some tools to modify SamTec FF registers. * enable or disable CDR on 4 ch XCVR * enable or disable laser on 4 ch XCVR b30d55a Merge pull request #16 from apollo-lhc/cleanup cd3eccf CLI comments, i2c reg write fix 4c4ee49 Merge pull request #14 from apollo-lhc/cleanup be10a80 Firefly monitoring bug fix, version info at CLI for build 5f70c84 Cleanup, mainly \r\n vs \n continued, still not complete. mostly works with screen now. other cleanup includes fixing a buffer overflow (oops) 8eecf3c Merge pull request #12 from apollo-lhc/fpga_mon 0bb18bc Add alarm task Alarm task shuts off when temperature hits a critical value also code cleanup 6fd1069 Add Xilinx FPGA temp readout; unify DCDC and FPGA I2C monitoring Also some code cleanup and rationalization 0286a61 interim commit of making MonitorTask more generic 2606927 clean up and centralize interrupt handler functions d0e840f Merge pull request #11 from apollo-lhc/zynq_power_handshake e61ea88 add a short delay between setting power off in internal register and turning off power 9d9c10d Multiple CLI, power handshake testing and fixes for power handling 280bf52 for two CLIs, interim commit where one CLI works 6f3273e update makefile handling of GIT to prevent unneeded builds. a0e57e5 merge commit b325259 Merge branch 'zynq_power_handshake' of https://github.com/apollo-lhc/cm_mcu into zynq_power_handshake 0593639 UART cleanup 8ecdbbe handle both UARTs more correctly 866aae5 mainly power control updates 2f3de57 Merge pull request #10 from apollo-lhc/firefly-dev 80a6b4c debugged FF task with CLI 2ed5b74 Update MonitorTask.c d464fa8 add CLI for FF temperatures 2abb06a update handling of BLADE_POWER_EN/OK also clean up some of the handling of UARTs for two possible CLIs, and clean up some of the code around power handling. b3729b9 I though t I would avoid merge commits with the rebase, ugh Merge branch 'firefly-dev' of https://github.com/apollo-lhc/cm_mcu into firefly-dev a1a2e40 firefly monitor temperature task, not yet hooked in to main() a557912 UART cleanup feb9b79 handle both UARTs more correctly b82a11a mainly power control updates a8e8881 Merge pull request #4 from apollo-lhc/i2chang_fix 07bb111 Merge branch 'i2chang_fix' of github.com:apollo-lhc/cm_mcu into i2chang_fix 1a6ef1c Update MonitorTask.c 17dbf85 start of a task to monitor firefly samtec devices 8c2bd00 start of a task to monitor firefly samtec devices 74d2747 Update MonitorTask.c c30492c Merge pull request #3 from apollo-lhc/pwittich-patch-1 23d60fd Update README.md and travis config 978870a Turn on rest of I2C masters (now have I2C 1,2,3,4, and 6). f58cd7f update on i2c code * remove obsolete fully polling version of the code (well, disable it) * update command line tools to work with the SMBus version for I2C1 and I2C4 only for now 734f560 General clean up and some new features * I2C code now uses MAP_ functions from rOM more consistently * convert float to Linear11 utility function * rearrange ADC outputs to make more sense * add command line task to suspend a task * switch monitorTask to use SMBUS interface globally 31bed32 Merge pull request #2 from apollo-lhc/adctest 9569a6b Clean up and final bug fixes of ADC task. c969cd8 ADC updates, mostly working. 0aa8cb1 Merge branch 'adctest' of https://github.com/apollo-lhc/cm_mcu into adctest 6f9c7ef initial ADC test code 4907b95 travis updates b625485 travis updates 80b9b53 Update .travis.yml 1f59aba get compiler via apt 97a7cf5 Update RandomTask.c dd21045 change which registers to monitor and add a minimum value to be stored too (just accessible via debugger) 9636636 travis updates e72deaa travis updates 8567e23 Update .travis.yml 5eb2d21 get compiler via apt 4ff694f Update RandomTask.c f0942bf Diverse updates to the project * use ARM DWP for timer for task statistics * rename UART queue to show its purpose * i2c scan task updates (only works with I2C4 right now) * add SMBUS code for I2C4 * make I2C code in command line task use the SMBUS interrupt-driven code 001c06b Use DWT for better task statistics (ARM M4 register) 5fd5dc5 Various updates to project2 * update logic in power control, report new failed supply on UART * add error checking in I2C, does not appear to work * add i2c_scan command, fix other bugs in command line * reduce clock speed to 40 MHz. Could probably reduce more. * add more monitoring registers to monitoring commad 658c476 Updates * fix bug in the pin selection (missing pin 0 name caused names wrong) * create a power supply state array to track state of arrays * clean handling of checking of PS again -- hopefully got it right now * more command line tasks, including power supply status * other clean ups d47ffbd Zynq UART 4ec63d9 Merge branch 'master' of github.com:apollo-lhc/cm_mcu db27620 update i2c handling to allow to choose i2c device via command line e98cd3a rename some variables to make their intent more clear. d83c751 remove obsolete project0 from build dd29e5e UART to Zynq support 6ab38ff updates to top-level project file * enable system (and interrupts) after setting up FreeRTOS * start putting in support for UART from Zynq 7b1d529 update readme d145387 cleanup 5f553d7 handle bad supply on startup properly 0e2fe8a Update CommandLineTask.c f164db2 bug fixes on v0.3.0 ffd0220 monitoring first pass complete 39149f9 old freertos project bfbf381 Create i2c_reg.c 3d0be8b i2c-sensors test project 81ee2b1 bug fix in page selection for powr supplies 20f22f0 Merge branch 'master' of https://github.com/apollo-lhc/cm_mcu 0e4ddb7 minor documentation fixes bb974b2 Update .travis.yml a4093f6 Cleanup of the I2C power supply monitoring task eecd3e2 Update .travis.yml 68866e1 Update .travis.yml c24e529 Update .travis.yml 19c6d00 Update .travis.yml f89bf22 Merge branch 'master' of https://github.com/apollo-lhc/cm_mcu f2b569f Create .travis.yml 4c244a0 Update issue templates f9ca666 priority for I2C interrupt be178cf Update FreeRTOSConfig.h b5d2952 SMBus + Random task c0885cb Update CommandLineTask.c 31cfc74 SMBus/PMBUS e4ce318 Update i2c_reg.c 3a00459 Update README.md 347fdd7 Update CommandLineTask.c a8c6bc0 Update FreeRTOSConfig.h e0e0b26 Update PowerSupplyTask.c 7e8d1da power-control updates df7462f Update project2.c da45f95 Update startup_gcc.c 6681946 Update Makefile 61027d9 Update i2c_reg.c b3c6220 active low pins 4342649 Update pinsel.c f81e2d2 Update README.md 5f0694b Change I2C reset to open drain on TM4C 98e2ad0 updates to interrupts 0896bd4 re-enable the configASSERT 8281f04 Update uart.c c3e07b2 remove probably unneeded eclipse file 28a4c21 LED, i2c, power control tasks 7db2955 version tracking 649190a Update i2c_reg.h c9f76c5 clean up unused files in project2 and some Eclipse project changes. 1eec59f Updates to the LED task. Work in progress. 0f2c13e more messages for the LED message queue 27aeba2 CLI and task updates ce69104 LedTask updates 70fc0e9 disable another #$@#$ warning d1218c0 power supply task updates d7449b4 Eclipse project files a951758 rudimentary CLI on FreeRTOS badc506 pwr ctl bfa6f51 Update startup_gcc.c df110a7 Create printf-stdarg.c 598f57c Update README.md 10a773c Update README.md 038b862 Interim commit for command line task 72b2429 FreeRTOS version 1 e3b6bbf Update project0.c f6fe003 add names of pins 9cf3364 makefile updates edab2a7 Update project2.c a34cdfe Update pinsel.c a704952 blade power ok LED 12a6c98 Update power_ctl.c 90e3b54 rearrange and clean-up 68e9c06 reorganization board_specific -> common 6603e56 makefile updates fc18240 working power-on project cfd32cd Update i2c_reg.c bafca19 Eclipse file updates 56b99bb update pinsel adding error handling a la Tivaware library 892c2de Update uart_echo.c 7d58853 pin definitions ff556c1 remove unused binaries from other compilers 1a56c6c Update blinky.c 038f38d remove JTAG pin defs d36fb73 Update i2c_reg.h e141a47 Update pinsel.h 1fb88e8 fix clocking b87d74d Merge branch 'master' of https://github.com/apollo-lhc/cm_mcu f76f73b makefile updates for right Si version of TM4C 084a060 update eclipse project to be more generic. now require you to set the environment variables to point to the FREERTOS install. 218bbc7 eclipse project updates 24e7bdd CLI start cbe80f3 command line project updates 40a58e6 fix interrupt handlers for FreeRTOS usage e4f0a57 updates to project2 65f2096 bugs in uart_echo 5780dce Create README.md 118d5cc project2 -- new FreeRTOS project 2d183c4 makefile updates d71006c Update project0.c 3047cb8 eclipse-cdt settings c4f51c9 start of a project using FreeRTOS, based on an example project. cd7bbb5 Update makefiles f8f0d37 Update README.md eedf0ba FreeRTOS first steps a27b2ca Update i2c_reg.c 9b92ef9 Create i2c_reg.c 8c3302f Update .gitignore 99ce54c rm unused files f6676e0 rm unused files 8fde65d Update project0.c 1342b0d switch to c11 from c99 39f0104 new gpio write and read b2ab073 new GPIO pin selection afd1adf cleanup uart_echo project 9c07762 add toplevel makefile 313a320 add PS check to main loop f1a157e add a first pass to turn on the HW 4a4becf remove mfloat-abit compiler directive this is needed to make the link work on Petalinux arm compiler tools. 0581224 Update makefiles * TM4C1290NCPDF part for all projects * include local pin init for project0 624e2a3 clean non-gcc files 6985bc4 dos 2 unix d7e4a36 project0, uart_echo and gitignore ec7de25 remove executables c29bfb9 reindent 4d13cf5 Update blinky.c 900f11c clean-up bae1446 includes from tivaware; updated make file 2df84b2 makedefs and update to gitignore 33ebe9f pinmux files 50c9e45 driverlib from tivaware 0c64689 some basic projects for turn-on 239b0ea Initial commit REVERT: 4fbba1f changes to auto-generated c file REVERT: 01ca3a2 mark jupyter files as obsolete REVERT: 69edf22 Merge branch 'main' of https://github.com/apollo-lhc/sm_cm_config REVERT: 8b3211f generate c files for rev1 and rev2 REVERT: 137e4c2 add check addr overload + up-to-date test2.xml REVERT: b7d82e5 sent all and appear correctly REVERT: 8d54b3d working xml with mcu fw with all clock config data REVERT: 4b5ada0 working XML with FFs is present + is 25gbs in one table REVERT: 1faa3f2 add clkr0a config version to zynq data + group all clk in one table REVERT: aec939c add mcu_generate.py REVERT: 34a34e3 success sending clk + ff info except optical power REVERT: 5be4da1 fix inconsistency in clk registers REVERT: 4fb17b6 fix bad value err b/c extra ; REVERT: b9f5049 add more postfix-required arrays REVERT: 7275cd1 all status 1 + adjust a few parameters in xml adress table REVERT: 022cdc4 fix data type and format REVERT: 3785f0d fix data types REVERT: a44b8b1 update REV2 yml->xml REVERT: dc627b6 Update zynqmon_2.yml REVERT: 6eca60f add more data types to xml_generate REVERT: 84e3a04 Update zynqmon_2.yml REVERT: 7c3e096 Update zynqmon_2.yml REVERT: 8e278d8 update zynqmon_2 as in cm_mcu and add ff12part-bits + ffpresent-bits data REVERT: 08a1fcc updates for clock info REVERT: f49520d remove _# pattern REVERT: 918b2f4 Update zynqmon_2.yml REVERT: 1a39798 Updates for Rev1 and Rev2 REVERT: 8c55997 updated yaml file and scripts REVERT: 074dda6 release candidate REVERT: c8592e1 interim commit REVERT: b7a2a65 add tests to ensure that generated xml and c code are sensible REVERT: febddf0 Create zynqmon_2.yml REVERT: f806718 First full canddiate for XML generation REVERT: ffb27be updates to yaml file and code to generate xml REVERT: c20163c interim commit REVERT: 69ee66c update list of monitorables and script to generate MCU code REVERT: fb6f0d2 yaml file for cm to sm monitoring path REVERT: 15b2406 Initial commit git-subtree-dir: sm_cm_config git-subtree-split: 38d31f5
pkotamnives
added a commit
that referenced
this pull request
Sep 29, 2023
855b371 resolve conflict a118958 fix clkconfigversion non-exist function calls in mcu f73970f clean up mcu_generate (pylint) 46372a5 Create pylint.yml 4fbba1f changes to auto-generated c file 01ca3a2 mark jupyter files as obsolete 69edf22 Merge branch 'main' of https://github.com/apollo-lhc/sm_cm_config 8b3211f generate c files for rev1 and rev2 137e4c2 add check addr overload + up-to-date test2.xml b7d82e5 sent all and appear correctly 8d54b3d working xml with mcu fw with all clock config data 4b5ada0 working XML with FFs is present + is 25gbs in one table 1faa3f2 add clkr0a config version to zynq data + group all clk in one table aec939c add mcu_generate.py 34a34e3 success sending clk + ff info except optical power 5be4da1 fix inconsistency in clk registers 4fb17b6 fix bad value err b/c extra ; b9f5049 add more postfix-required arrays 7275cd1 all status 1 + adjust a few parameters in xml adress table 022cdc4 fix data type and format 3785f0d fix data types a44b8b1 update REV2 yml->xml dc627b6 Update zynqmon_2.yml 6eca60f add more data types to xml_generate 84e3a04 Update zynqmon_2.yml 7c3e096 Update zynqmon_2.yml 8e278d8 update zynqmon_2 as in cm_mcu and add ff12part-bits + ffpresent-bits data 08a1fcc updates for clock info f49520d remove _# pattern 918b2f4 Update zynqmon_2.yml 1a39798 Updates for Rev1 and Rev2 8c55997 updated yaml file and scripts 074dda6 release candidate c8592e1 interim commit b7a2a65 add tests to ensure that generated xml and c code are sensible febddf0 Create zynqmon_2.yml f806718 First full canddiate for XML generation ffb27be updates to yaml file and code to generate xml c20163c interim commit 69ee66c update list of monitorables and script to generate MCU code fb6f0d2 yaml file for cm to sm monitoring path 15b2406 Initial commit REVERT: 38d31f5 Merge commit 'ad28e5906ebe85a049cbb4b1fe8a69282201be87' into dev_zynqmon_path REVERT: ad28e59 Squashed 'sm_cm_config/' changes from 137e4c2..4fbba1f REVERT: db5d4a1 apply clang format (mostly to sm_cm_config) REVERT: dadc7f5 Merge tag 'v0.99.5' into dev_zynqmon_path REVERT: 06405f2 Squashed 'sm_cm_config/' content from commit 137e4c2 REVERT: 8d77252 Merge commit '06405f20a51b0cf5f5dc6adf0f3fb4cf32241309' as 'sm_cm_config' REVERT: 598cf5d a better start bit scheme REVERT: 142ccbb fix build failed REVERT: bdbee5c add all inventory info and successfully sent REVERT: 38de269 working version with all clock configs sent REVERT: f65828d combine ff is present + is 25gbs to one data steam REVERT: 9faf3a8 Merge branch 'dev_zynqmon_path' of github.com:apollo-lhc/cm_mcu into dev_zynqmon_path REVERT: 836ce33 fix bugs for sending present bits REVERT: 4d1a2e7 Merge branch 'master' into dev_zynqmon_path REVERT: c709640 fix bug in the 2nd fpga i2c device response to ipmc (#193) REVERT: 5f95c6a fix a bug from optical power check REVERT: f94713b fix rev1 build failed REVERT: c3aa400 success sending a clock config version to zynq (just r0a for now) REVERT: e40172b fix build bug REVERT: 3aee00c need a return to prevent codacy REVERT: 8b44241 change configASSERT to if cond't REVERT: 7c09f91 maybe last attempt to fix codacy REVERT: 8c64db0 fix codacy REVERT: 52a307d fix clang REVERT: 53c4bc9 fix codacy REVERT: 5728596 fix bug + codacy REVERT: e38a77a fix codacy REVERT: 01c42c2 fix clang format REVERT: 4e272e2 fix cadacy complaint again REVERT: 7ae9519 fix cadacy complaint again REVERT: e2ce330 resolve built failed REVERT: 3acf338 try resolve codacy again REVERT: 8fc25af fix cadacy complaint again REVERT: d9dee06 fix cadacy complaint REVERT: a222b9e fix REV1 failed REVERT: 2e5564e add clkconfig in zynq data REVERT: 6e5cf78 try again REVERT: de85809 try to solve shifting 32-bit by 251-bit REVERT: 18c177a success sending clk + ff info except optical power REVERT: 55307b3 modify zynqmon + assisted by mcu_generate for data REVERT: d8483f2 sync code to sm_cm_config REVERT: 9c01e0a enlarge ZM*ENTRIES REVERT: 95bcaf1 separate 12-ch and 4-ch to send via zynqmon REVERT: 7f933ee fix clock data type to be consistent with sm_cm_config REVERT: cf92d98 fix codacy v3 REVERT: 9997053 fix codacy v2 REVERT: ab346a7 fix codacy REVERT: 624308c fix Clang REVERT: 26f1476 Merge branch 'master' into dev_zynqmon_path REVERT: 0435b16 a few numerical error REVERT: e86da9a update README REVERT: 96cca28 add optical power info to FFDAQ+FF12 w/ 25Gbs in MONI2C and Zynq REVERT: bc04d3f Fix bug in how the PG is handled for the 3.8V firefly supply (#189) REVERT: 2a56f47 add missing semaphore to FPGA monitoring task (#188) REVERT: 7c0a6b7 clear clock sticky bits in initial task (#186) REVERT: 29997b5 update count and start as in yaml_2 REVERT: 2f2d1c3 a minor clk bug REVERT: c03180c add new zynqmon_data blocks for clk and ff's 12-ch part + present bit-mask REVERT: d1a2c14 Add a power control state machine state 6 for controlling V3.8 needed for Samtec 12-ch 25Gbs (#183) REVERT: cd555aa Turn FreeRTOS use into a submodule (#185) REVERT: 8b122b8 Implement "all" argument for monitoring and resetting power supplies all at once (#180) REVERT: d7c0957 Bugfix/gitversion zmon (#181) REVERT: dd59ed7 Add information about Clock program into the CLI (#177) REVERT: a545bca Bug fix: update how stale data is handled for monitor tasks (#178) REVERT: 287b1f8 Alarm tasks for votages (#171) REVERT: 1c5ddde I2c device fix (#175) REVERT: 5045342 Add check to every Semaphore Take and Give (#168) REVERT: 186f4aa GitHub actions fix (#172) REVERT: 315d573 Bug fix: add 'DOWN' state to power control state machine strings (#170) REVERT: 4af28bb add new 'powering down' state to PS state machine (#169) REVERT: ef3f0c9 Improvement on sem_ctl + psreg (#167) REVERT: 9e857db Semaphore cleanup (#165) REVERT: 71a2ecf Fix misc bugs (#164) REVERT: e37ed20 Add CLI to take/release I2C mutex (#154) REVERT: fcebefd require a check on 3.3V power supply for loadclock (#157) REVERT: 8ad8b7b CLI for turning on 3.8V for power supplies (#153) REVERT: b923b86 Update makedefs (#152) REVERT: db98ea8 detect first-time loading mcu FW (#145) REVERT: 7525cb2 Fix hardcode in InitTask from issue #148 (#149) REVERT: 2e85741 Hotfix for issues running on Rev1 (#146) REVERT: c279268 only run clang-format GitHub action if there are changed files (#143) REVERT: 34456be Automatically commit clang-format fixes (#142) REVERT: 9a3c85f Implementing new monitor i2c task to replace ffl task and add clock registers (#136) REVERT: 6cce566 add quit init clock loading if garbage EEPROM is detected (#138) REVERT: ee0605d Allow override of PS configuration (#137) REVERT: 383a9dd Various small cleanups and add GH action for formatting. (#134) REVERT: 45cd2c0 Fix bug in interaction between power supply and alarm tasks (#133) REVERT: fd88b9c Zynq monitoring generalization and updates for Rev2 (#132) REVERT: 36f7c37 Read EEPROM first revision (#131) REVERT: d19821c ADCMon and LOG updates (#130) REVERT: ec7d7aa Clean up logging in Firefly Task and set/reset page register (#129) REVERT: 3526ea6 Fix regression on I2C register reading (#128) REVERT: 8322137 Code cleanup (#127) REVERT: 637f5db Rev2b eeprom (#125) REVERT: 4479f34 I/O expander initialization; GPIO CLI tool, some refinement of RTC interface (#122) REVERT: 0b478bc Some minor string improvements (#121) REVERT: e86a596 Simplify compilation (#120) REVERT: 41c0a93 Update release.yml (#119) REVERT: a78bdc9 Enable RTC in Hibernation module and add a basic CLI for setting it (#118) REVERT: c9786d5 Add a more generic logger interface and continue Rev2 fixes (#116) REVERT: b843918 MCU code for Rev 2 CM (#114) REVERT: 85b6cfb use of I2C communications layer (#112) REVERT: cb839a0 Create codeql-analysis.yml (#111) REVERT: 9832804 Fix error in Zynq data path; watchdog task start (#110) REVERT: 0731fc3 restore debug build compile (#109) REVERT: 554138e Update release.yml (#108) REVERT: 69c43b4 Update release.yml (#107) REVERT: a379b34 Update release.yml (#106) REVERT: c69c8bd Update release.yml (#105) REVERT: 5a8f791 Release yml 2 (#104) REVERT: 4303d65 Update release.yml (#103) REVERT: 4a6a795 Release yml 2 (#102) REVERT: fcb2034 Update release.yml (#101) REVERT: 7dac447 Update release.yml (#100) REVERT: c9a89b8 Update release.yml (#99) REVERT: 8e9515f Update release.yml (#98) REVERT: 1ca0c09 Ability to read SYSMON in both SLRs in VU7P (#95) REVERT: d97fd98 Read Loss of Signal and CDR Loss of Lock Alarms (#93) REVERT: 88a9a94 add github actions (move away from travis) (#97) REVERT: 49be97d Clang build (#94) REVERT: fdfc397 Update bug_report.md (#90) REVERT: 4c70953 Firefly task updates for 12-wide 25 G devices (#88) REVERT: 9d7f261 transferred all my changes to this new branch (#87) REVERT: 53317dc Rev 2 preparation (#86) REVERT: 881468e Minor cleanups (#83) REVERT: 6aca086 Firefly disable cmds (#81) REVERT: 5cd0794 Make fixes to I2CCommunication.c and clocksynth.c (#79) REVERT: 123182e fixing the waiting time between preamble/programing/postamble for clock synthesizer programming (#78) REVERT: 79dfaba Documentation updates. (#76) REVERT: 2bc76fb Code reformat (#75) REVERT: 08a9944 Initialization code for LGA80D power supplies (#71) REVERT: 00a5ea3 Clean ups and bug fix in generic ALARM task (#70) REVERT: 7e37189 Merge clocksynth into master (#69) REVERT: bfc154f Update alarm task to allow different types of alarms (#67) REVERT: 5c45b85 Ensure that NaNs and/or -55 (int) are sent when data is stale (#65) REVERT: 9b34215 Fix error handling for power supply mask (#64) REVERT: c0079b0 bug fix to address updated address table/missing data (#63) REVERT: 4f53d42 Power supply state machine clean-up and debugging code (#62) REVERT: 7e67c2e Fix bug in soft UART for MCU->ZYNQ data transfer (#61) REVERT: 17d3d37 Write and read from arbitrary FF registers (#58) REVERT: 985bd58 ff register ctl (#57) REVERT: 7d96a84 Cleanups (#56) REVERT: afa8bcc Better handling of asserts, hard faults (#52) REVERT: 280bf1b boot loader updates * Update directory locations and paths to allow use of microrl library in multiple apps (boot loader) * Update to allow a forced update based on input from the current default UART. * move boot loader to projects subdirectory * allow switch between FP and Zynq UART * remove eclipse files successfully tested bootloader with CLI REVERT: d48d759 Updates to error logger * new errors, continuation code * rename error logger cli REVERT: 5038d89 System stack updates * increase the system stack size * put in a canary into the system stack on boot * turn on FreeRTOS Idle Hook and use it to monitor changes to the canary * also add a printout of the high water mark into the CLI REVERT: 324860d Update .travis.yml (#49) REVERT: 776b86e Softuart test candidate (#34) REVERT: c50dedb fix rollover bug in uptime (#48) REVERT: 36b40d7 Update makedefs (#46) REVERT: a0a09b9 Temperature messages for error buffer (#45) REVERT: 75b6526 some code clean up based on cppcheck running (#44) REVERT: 4f97f84 New CLI interface (#43) REVERT: 1db0ead Merge pull request #42 from apollo-lhc/eeprom_buffer REVERT: 0e3966b Merge branch 'master' into eeprom_buffer REVERT: ee15952 Merge branch 'eeprom_buffer' of github.com:apollo-lhc/cm_mcu into eeprom_buffer REVERT: 98f5643 InitTask.c REVERT: 37aa00d Merge pull request #41 from apollo-lhc/eeprom_buffer REVERT: 3b06d8e Merge branch 'master' into eeprom_buffer REVERT: d811480 message counter for eeprom buffer REVERT: 2c912ae Fix incorrect ADC channel mapping (#40) REVERT: 331bd69 fix missing protection for FF registers and others (#38) REVERT: ac5b10c 2nd attempt for release integration (#37) REVERT: 231079f include release deployments into CI build process (#36) REVERT: 9f6de3c add CLI command to check FPGA done* (#35) REVERT: 497fbcf get variable # of entries for error buffer REVERT: ab9be6e error buffer entry config REVERT: bb83927 changed buffer init REVERT: 7cdd3a3 Merge branch 'master' into eeprom_buffer REVERT: 48055af EEPROM buffer working but incomplete REVERT: f3334a2 Makefile REVERT: 33da21d update REVERT: 26b017c project file REVERT: d818e5e WIP: eeprom buffer REVERT: 588e082 I2c slave (#33) REVERT: 14705f9 increased heap size REVERT: 856a473 EEPROM return queue REVERT: 6cf1b35 makefile update REVERT: e377118 EEPROM Task - memory issue REVERT: cf0cdb4 EEPROM gatekeeper task: read and write REVERT: 4d369fe WIP: EEPROM gatekeeper task REVERT: 105eabf Merge branch 'eeprom_buffer' of github.com:apollo-lhc/cm_mcu into eeprom_buffer REVERT: d386303 EEPROM info REVERT: 3446c5c some little fixes REVERT: cb266e1 eeprom id block commands REVERT: 49ccb66 switch to zynq uart for boot loader (#30) REVERT: d1b846f Mark stale monitoring data in CLI (#29) REVERT: 696d850 Gwen (#27): FPGA reset and eeprom for cm ID REVERT: d1ea15a a few small edits REVERT: 7ddc5e2 Some small additions to eeprom commands REVERT: 33061c1 Some small additions to eeprom commands REVERT: 882258e added EEPROM info command REVERT: 729e5de added EEPROM read and write commands REVERT: 15aab9a fixes to fpga reset REVERT: 87d0cf5 Merge branch 'gwen' of github.com:apollo-lhc/cm_mcu into gwen REVERT: 57ada7e added fpga reset REVERT: dcd859b Merge pull request #25 from apollo-lhc/gwen REVERT: be9f143 added include REVERT: cf2546b added restart command REVERT: 1cd9242 Flash bootloader (#22) REVERT: c00d23b Power ctl (#24) REVERT: e56328e Rename project2 to cm_mcu (#21) REVERT: f0e4ed0 Add ECU0 14 G tx to output disable REVERT: 86195bd Code cleanup, and some tools to modify SamTec FF registers. * enable or disable CDR on 4 ch XCVR * enable or disable laser on 4 ch XCVR REVERT: b30d55a Merge pull request #16 from apollo-lhc/cleanup REVERT: cd3eccf CLI comments, i2c reg write fix REVERT: 4c4ee49 Merge pull request #14 from apollo-lhc/cleanup REVERT: be10a80 Firefly monitoring bug fix, version info at CLI for build REVERT: 5f70c84 Cleanup, mainly \r\n vs \n continued, still not complete. mostly works with screen now. other cleanup includes fixing a buffer overflow (oops) REVERT: 8eecf3c Merge pull request #12 from apollo-lhc/fpga_mon REVERT: 0bb18bc Add alarm task Alarm task shuts off when temperature hits a critical value also code cleanup REVERT: 6fd1069 Add Xilinx FPGA temp readout; unify DCDC and FPGA I2C monitoring Also some code cleanup and rationalization REVERT: 0286a61 interim commit of making MonitorTask more generic REVERT: 2606927 clean up and centralize interrupt handler functions REVERT: d0e840f Merge pull request #11 from apollo-lhc/zynq_power_handshake REVERT: e61ea88 add a short delay between setting power off in internal register and turning off power REVERT: 9d9c10d Multiple CLI, power handshake testing and fixes for power handling REVERT: 280bf52 for two CLIs, interim commit where one CLI works REVERT: 6f3273e update makefile handling of GIT to prevent unneeded builds. REVERT: a0e57e5 merge commit REVERT: b325259 Merge branch 'zynq_power_handshake' of https://github.com/apollo-lhc/cm_mcu into zynq_power_handshake REVERT: 0593639 UART cleanup REVERT: 8ecdbbe handle both UARTs more correctly REVERT: 866aae5 mainly power control updates REVERT: 2f3de57 Merge pull request #10 from apollo-lhc/firefly-dev REVERT: 80a6b4c debugged FF task with CLI REVERT: 2ed5b74 Update MonitorTask.c REVERT: d464fa8 add CLI for FF temperatures REVERT: 2abb06a update handling of BLADE_POWER_EN/OK also clean up some of the handling of UARTs for two possible CLIs, and clean up some of the code around power handling. REVERT: b3729b9 I though t I would avoid merge commits with the rebase, ugh Merge branch 'firefly-dev' of https://github.com/apollo-lhc/cm_mcu into firefly-dev REVERT: a1a2e40 firefly monitor temperature task, not yet hooked in to main() REVERT: a557912 UART cleanup REVERT: feb9b79 handle both UARTs more correctly REVERT: b82a11a mainly power control updates REVERT: a8e8881 Merge pull request #4 from apollo-lhc/i2chang_fix REVERT: 07bb111 Merge branch 'i2chang_fix' of github.com:apollo-lhc/cm_mcu into i2chang_fix REVERT: 1a6ef1c Update MonitorTask.c REVERT: 17dbf85 start of a task to monitor firefly samtec devices REVERT: 8c2bd00 start of a task to monitor firefly samtec devices REVERT: 74d2747 Update MonitorTask.c REVERT: c30492c Merge pull request #3 from apollo-lhc/pwittich-patch-1 REVERT: 23d60fd Update README.md and travis config REVERT: 978870a Turn on rest of I2C masters (now have I2C 1,2,3,4, and 6). REVERT: f58cd7f update on i2c code * remove obsolete fully polling version of the code (well, disable it) * update command line tools to work with the SMBus version for I2C1 and I2C4 only for now REVERT: 734f560 General clean up and some new features * I2C code now uses MAP_ functions from rOM more consistently * convert float to Linear11 utility function * rearrange ADC outputs to make more sense * add command line task to suspend a task * switch monitorTask to use SMBUS interface globally REVERT: 31bed32 Merge pull request #2 from apollo-lhc/adctest REVERT: 9569a6b Clean up and final bug fixes of ADC task. REVERT: c969cd8 ADC updates, mostly working. REVERT: 0aa8cb1 Merge branch 'adctest' of https://github.com/apollo-lhc/cm_mcu into adctest REVERT: 6f9c7ef initial ADC test code REVERT: 4907b95 travis updates REVERT: b625485 travis updates REVERT: 80b9b53 Update .travis.yml REVERT: 1f59aba get compiler via apt REVERT: 97a7cf5 Update RandomTask.c REVERT: dd21045 change which registers to monitor and add a minimum value to be stored too (just accessible via debugger) REVERT: 9636636 travis updates REVERT: e72deaa travis updates REVERT: 8567e23 Update .travis.yml REVERT: 5eb2d21 get compiler via apt REVERT: 4ff694f Update RandomTask.c REVERT: f0942bf Diverse updates to the project * use ARM DWP for timer for task statistics * rename UART queue to show its purpose * i2c scan task updates (only works with I2C4 right now) * add SMBUS code for I2C4 * make I2C code in command line task use the SMBUS interrupt-driven code REVERT: 001c06b Use DWT for better task statistics (ARM M4 register) REVERT: 5fd5dc5 Various updates to project2 * update logic in power control, report new failed supply on UART * add error checking in I2C, does not appear to work * add i2c_scan command, fix other bugs in command line * reduce clock speed to 40 MHz. Could probably reduce more. * add more monitoring registers to monitoring commad REVERT: 658c476 Updates * fix bug in the pin selection (missing pin 0 name caused names wrong) * create a power supply state array to track state of arrays * clean handling of checking of PS again -- hopefully got it right now * more command line tasks, including power supply status * other clean ups REVERT: d47ffbd Zynq UART REVERT: 4ec63d9 Merge branch 'master' of github.com:apollo-lhc/cm_mcu REVERT: db27620 update i2c handling to allow to choose i2c device via command line REVERT: e98cd3a rename some variables to make their intent more clear. REVERT: d83c751 remove obsolete project0 from build REVERT: dd29e5e UART to Zynq support REVERT: 6ab38ff updates to top-level project file * enable system (and interrupts) after setting up FreeRTOS * start putting in support for UART from Zynq REVERT: 7b1d529 update readme REVERT: d145387 cleanup REVERT: 5f553d7 handle bad supply on startup properly REVERT: 0e2fe8a Update CommandLineTask.c REVERT: f164db2 bug fixes on v0.3.0 REVERT: ffd0220 monitoring first pass complete REVERT: 39149f9 old freertos project REVERT: bfbf381 Create i2c_reg.c REVERT: 3d0be8b i2c-sensors test project REVERT: 81ee2b1 bug fix in page selection for powr supplies REVERT: 20f22f0 Merge branch 'master' of https://github.com/apollo-lhc/cm_mcu REVERT: 0e4ddb7 minor documentation fixes REVERT: bb974b2 Update .travis.yml REVERT: a4093f6 Cleanup of the I2C power supply monitoring task REVERT: eecd3e2 Update .travis.yml REVERT: 68866e1 Update .travis.yml REVERT: c24e529 Update .travis.yml REVERT: 19c6d00 Update .travis.yml REVERT: f89bf22 Merge branch 'master' of https://github.com/apollo-lhc/cm_mcu REVERT: f2b569f Create .travis.yml REVERT: 4c244a0 Update issue templates REVERT: f9ca666 priority for I2C interrupt REVERT: be178cf Update FreeRTOSConfig.h REVERT: b5d2952 SMBus + Random task REVERT: c0885cb Update CommandLineTask.c REVERT: 31cfc74 SMBus/PMBUS REVERT: e4ce318 Update i2c_reg.c REVERT: 3a00459 Update README.md REVERT: 347fdd7 Update CommandLineTask.c REVERT: a8c6bc0 Update FreeRTOSConfig.h REVERT: e0e0b26 Update PowerSupplyTask.c REVERT: 7e8d1da power-control updates REVERT: df7462f Update project2.c REVERT: da45f95 Update startup_gcc.c REVERT: 6681946 Update Makefile REVERT: 61027d9 Update i2c_reg.c REVERT: b3c6220 active low pins REVERT: 4342649 Update pinsel.c REVERT: f81e2d2 Update README.md REVERT: 5f0694b Change I2C reset to open drain on TM4C REVERT: 98e2ad0 updates to interrupts REVERT: 0896bd4 re-enable the configASSERT REVERT: 8281f04 Update uart.c REVERT: c3e07b2 remove probably unneeded eclipse file REVERT: 28a4c21 LED, i2c, power control tasks REVERT: 7db2955 version tracking REVERT: 649190a Update i2c_reg.h REVERT: c9f76c5 clean up unused files in project2 and some Eclipse project changes. REVERT: 1eec59f Updates to the LED task. Work in progress. REVERT: 0f2c13e more messages for the LED message queue REVERT: 27aeba2 CLI and task updates REVERT: ce69104 LedTask updates REVERT: 70fc0e9 disable another #$@#$ warning REVERT: d1218c0 power supply task updates REVERT: d7449b4 Eclipse project files REVERT: a951758 rudimentary CLI on FreeRTOS REVERT: badc506 pwr ctl REVERT: bfa6f51 Update startup_gcc.c REVERT: df110a7 Create printf-stdarg.c REVERT: 598f57c Update README.md REVERT: 10a773c Update README.md REVERT: 038b862 Interim commit for command line task REVERT: 72b2429 FreeRTOS version 1 REVERT: e3b6bbf Update project0.c REVERT: f6fe003 add names of pins REVERT: 9cf3364 makefile updates REVERT: edab2a7 Update project2.c REVERT: a34cdfe Update pinsel.c REVERT: a704952 blade power ok LED REVERT: 12a6c98 Update power_ctl.c REVERT: 90e3b54 rearrange and clean-up REVERT: 68e9c06 reorganization board_specific -> common REVERT: 6603e56 makefile updates REVERT: fc18240 working power-on project REVERT: cfd32cd Update i2c_reg.c REVERT: bafca19 Eclipse file updates REVERT: 56b99bb update pinsel adding error handling a la Tivaware library REVERT: 892c2de Update uart_echo.c REVERT: 7d58853 pin definitions REVERT: ff556c1 remove unused binaries from other compilers REVERT: 1a56c6c Update blinky.c REVERT: 038f38d remove JTAG pin defs REVERT: d36fb73 Update i2c_reg.h REVERT: e141a47 Update pinsel.h REVERT: 1fb88e8 fix clocking REVERT: b87d74d Merge branch 'master' of https://github.com/apollo-lhc/cm_mcu REVERT: f76f73b makefile updates for right Si version of TM4C REVERT: 084a060 update eclipse project to be more generic. now require you to set the environment variables to point to the FREERTOS install. REVERT: 218bbc7 eclipse project updates REVERT: 24e7bdd CLI start REVERT: cbe80f3 command line project updates REVERT: 40a58e6 fix interrupt handlers for FreeRTOS usage REVERT: e4f0a57 updates to project2 REVERT: 65f2096 bugs in uart_echo REVERT: 5780dce Create README.md REVERT: 118d5cc project2 -- new FreeRTOS project REVERT: 2d183c4 makefile updates REVERT: d71006c Update project0.c REVERT: 3047cb8 eclipse-cdt settings REVERT: c4f51c9 start of a project using FreeRTOS, based on an example project. REVERT: cd7bbb5 Update makefiles REVERT: f8f0d37 Update README.md REVERT: eedf0ba FreeRTOS first steps REVERT: a27b2ca Update i2c_reg.c REVERT: 9b92ef9 Create i2c_reg.c REVERT: 8c3302f Update .gitignore REVERT: 99ce54c rm unused files REVERT: f6676e0 rm unused files REVERT: 8fde65d Update project0.c REVERT: 1342b0d switch to c11 from c99 REVERT: 39f0104 new gpio write and read REVERT: b2ab073 new GPIO pin selection REVERT: afd1adf cleanup uart_echo project REVERT: 9c07762 add toplevel makefile REVERT: 313a320 add PS check to main loop REVERT: f1a157e add a first pass to turn on the HW REVERT: 4a4becf remove mfloat-abit compiler directive this is needed to make the link work on Petalinux arm compiler tools. REVERT: 0581224 Update makefiles * TM4C1290NCPDF part for all projects * include local pin init for project0 REVERT: 624e2a3 clean non-gcc files REVERT: 6985bc4 dos 2 unix REVERT: d7e4a36 project0, uart_echo and gitignore REVERT: ec7de25 remove executables REVERT: c29bfb9 reindent REVERT: 4d13cf5 Update blinky.c REVERT: 900f11c clean-up REVERT: bae1446 includes from tivaware; updated make file REVERT: 2df84b2 makedefs and update to gitignore REVERT: 33ebe9f pinmux files REVERT: 50c9e45 driverlib from tivaware REVERT: 0c64689 some basic projects for turn-on REVERT: 239b0ea Initial commit git-subtree-dir: sm_cm_config git-subtree-split: 855b371
pkotamnives
added a commit
that referenced
this pull request
Sep 30, 2023
855b371 resolve conflict a118958 fix clkconfigversion non-exist function calls in mcu f73970f clean up mcu_generate (pylint) 46372a5 Create pylint.yml 4fbba1f changes to auto-generated c file 01ca3a2 mark jupyter files as obsolete 69edf22 Merge branch 'main' of https://github.com/apollo-lhc/sm_cm_config 8b3211f generate c files for rev1 and rev2 137e4c2 add check addr overload + up-to-date test2.xml b7d82e5 sent all and appear correctly 8d54b3d working xml with mcu fw with all clock config data 4b5ada0 working XML with FFs is present + is 25gbs in one table 1faa3f2 add clkr0a config version to zynq data + group all clk in one table aec939c add mcu_generate.py 34a34e3 success sending clk + ff info except optical power 5be4da1 fix inconsistency in clk registers 4fb17b6 fix bad value err b/c extra ; b9f5049 add more postfix-required arrays 7275cd1 all status 1 + adjust a few parameters in xml adress table 022cdc4 fix data type and format 3785f0d fix data types a44b8b1 update REV2 yml->xml dc627b6 Update zynqmon_2.yml 6eca60f add more data types to xml_generate 84e3a04 Update zynqmon_2.yml 7c3e096 Update zynqmon_2.yml 8e278d8 update zynqmon_2 as in cm_mcu and add ff12part-bits + ffpresent-bits data 08a1fcc updates for clock info f49520d remove _# pattern 918b2f4 Update zynqmon_2.yml 1a39798 Updates for Rev1 and Rev2 8c55997 updated yaml file and scripts 074dda6 release candidate c8592e1 interim commit b7a2a65 add tests to ensure that generated xml and c code are sensible febddf0 Create zynqmon_2.yml f806718 First full canddiate for XML generation ffb27be updates to yaml file and code to generate xml c20163c interim commit 69ee66c update list of monitorables and script to generate MCU code fb6f0d2 yaml file for cm to sm monitoring path 15b2406 Initial commit REVERT: 38d31f5 Merge commit 'ad28e5906ebe85a049cbb4b1fe8a69282201be87' into dev_zynqmon_path REVERT: ad28e59 Squashed 'sm_cm_config/' changes from 137e4c2..4fbba1f REVERT: db5d4a1 apply clang format (mostly to sm_cm_config) REVERT: dadc7f5 Merge tag 'v0.99.5' into dev_zynqmon_path REVERT: 06405f2 Squashed 'sm_cm_config/' content from commit 137e4c2 REVERT: 8d77252 Merge commit '06405f20a51b0cf5f5dc6adf0f3fb4cf32241309' as 'sm_cm_config' REVERT: 598cf5d a better start bit scheme REVERT: 142ccbb fix build failed REVERT: bdbee5c add all inventory info and successfully sent REVERT: 38de269 working version with all clock configs sent REVERT: f65828d combine ff is present + is 25gbs to one data steam REVERT: 9faf3a8 Merge branch 'dev_zynqmon_path' of github.com:apollo-lhc/cm_mcu into dev_zynqmon_path REVERT: 836ce33 fix bugs for sending present bits REVERT: 4d1a2e7 Merge branch 'master' into dev_zynqmon_path REVERT: c709640 fix bug in the 2nd fpga i2c device response to ipmc (#193) REVERT: 5f95c6a fix a bug from optical power check REVERT: f94713b fix rev1 build failed REVERT: c3aa400 success sending a clock config version to zynq (just r0a for now) REVERT: e40172b fix build bug REVERT: 3aee00c need a return to prevent codacy REVERT: 8b44241 change configASSERT to if cond't REVERT: 7c09f91 maybe last attempt to fix codacy REVERT: 8c64db0 fix codacy REVERT: 52a307d fix clang REVERT: 53c4bc9 fix codacy REVERT: 5728596 fix bug + codacy REVERT: e38a77a fix codacy REVERT: 01c42c2 fix clang format REVERT: 4e272e2 fix cadacy complaint again REVERT: 7ae9519 fix cadacy complaint again REVERT: e2ce330 resolve built failed REVERT: 3acf338 try resolve codacy again REVERT: 8fc25af fix cadacy complaint again REVERT: d9dee06 fix cadacy complaint REVERT: a222b9e fix REV1 failed REVERT: 2e5564e add clkconfig in zynq data REVERT: 6e5cf78 try again REVERT: de85809 try to solve shifting 32-bit by 251-bit REVERT: 18c177a success sending clk + ff info except optical power REVERT: 55307b3 modify zynqmon + assisted by mcu_generate for data REVERT: d8483f2 sync code to sm_cm_config REVERT: 9c01e0a enlarge ZM*ENTRIES REVERT: 95bcaf1 separate 12-ch and 4-ch to send via zynqmon REVERT: 7f933ee fix clock data type to be consistent with sm_cm_config REVERT: cf92d98 fix codacy v3 REVERT: 9997053 fix codacy v2 REVERT: ab346a7 fix codacy REVERT: 624308c fix Clang REVERT: 26f1476 Merge branch 'master' into dev_zynqmon_path REVERT: 0435b16 a few numerical error REVERT: e86da9a update README REVERT: 96cca28 add optical power info to FFDAQ+FF12 w/ 25Gbs in MONI2C and Zynq REVERT: bc04d3f Fix bug in how the PG is handled for the 3.8V firefly supply (#189) REVERT: 2a56f47 add missing semaphore to FPGA monitoring task (#188) REVERT: 7c0a6b7 clear clock sticky bits in initial task (#186) REVERT: 29997b5 update count and start as in yaml_2 REVERT: 2f2d1c3 a minor clk bug REVERT: c03180c add new zynqmon_data blocks for clk and ff's 12-ch part + present bit-mask REVERT: d1a2c14 Add a power control state machine state 6 for controlling V3.8 needed for Samtec 12-ch 25Gbs (#183) REVERT: cd555aa Turn FreeRTOS use into a submodule (#185) REVERT: 8b122b8 Implement "all" argument for monitoring and resetting power supplies all at once (#180) REVERT: d7c0957 Bugfix/gitversion zmon (#181) REVERT: dd59ed7 Add information about Clock program into the CLI (#177) REVERT: a545bca Bug fix: update how stale data is handled for monitor tasks (#178) REVERT: 287b1f8 Alarm tasks for votages (#171) REVERT: 1c5ddde I2c device fix (#175) REVERT: 5045342 Add check to every Semaphore Take and Give (#168) REVERT: 186f4aa GitHub actions fix (#172) REVERT: 315d573 Bug fix: add 'DOWN' state to power control state machine strings (#170) REVERT: 4af28bb add new 'powering down' state to PS state machine (#169) REVERT: ef3f0c9 Improvement on sem_ctl + psreg (#167) REVERT: 9e857db Semaphore cleanup (#165) REVERT: 71a2ecf Fix misc bugs (#164) REVERT: e37ed20 Add CLI to take/release I2C mutex (#154) REVERT: fcebefd require a check on 3.3V power supply for loadclock (#157) REVERT: 8ad8b7b CLI for turning on 3.8V for power supplies (#153) REVERT: b923b86 Update makedefs (#152) REVERT: db98ea8 detect first-time loading mcu FW (#145) REVERT: 7525cb2 Fix hardcode in InitTask from issue #148 (#149) REVERT: 2e85741 Hotfix for issues running on Rev1 (#146) REVERT: c279268 only run clang-format GitHub action if there are changed files (#143) REVERT: 34456be Automatically commit clang-format fixes (#142) REVERT: 9a3c85f Implementing new monitor i2c task to replace ffl task and add clock registers (#136) REVERT: 6cce566 add quit init clock loading if garbage EEPROM is detected (#138) REVERT: ee0605d Allow override of PS configuration (#137) REVERT: 383a9dd Various small cleanups and add GH action for formatting. (#134) REVERT: 45cd2c0 Fix bug in interaction between power supply and alarm tasks (#133) REVERT: fd88b9c Zynq monitoring generalization and updates for Rev2 (#132) REVERT: 36f7c37 Read EEPROM first revision (#131) REVERT: d19821c ADCMon and LOG updates (#130) REVERT: ec7d7aa Clean up logging in Firefly Task and set/reset page register (#129) REVERT: 3526ea6 Fix regression on I2C register reading (#128) REVERT: 8322137 Code cleanup (#127) REVERT: 637f5db Rev2b eeprom (#125) REVERT: 4479f34 I/O expander initialization; GPIO CLI tool, some refinement of RTC interface (#122) REVERT: 0b478bc Some minor string improvements (#121) REVERT: e86a596 Simplify compilation (#120) REVERT: 41c0a93 Update release.yml (#119) REVERT: a78bdc9 Enable RTC in Hibernation module and add a basic CLI for setting it (#118) REVERT: c9786d5 Add a more generic logger interface and continue Rev2 fixes (#116) REVERT: b843918 MCU code for Rev 2 CM (#114) REVERT: 85b6cfb use of I2C communications layer (#112) REVERT: cb839a0 Create codeql-analysis.yml (#111) REVERT: 9832804 Fix error in Zynq data path; watchdog task start (#110) REVERT: 0731fc3 restore debug build compile (#109) REVERT: 554138e Update release.yml (#108) REVERT: 69c43b4 Update release.yml (#107) REVERT: a379b34 Update release.yml (#106) REVERT: c69c8bd Update release.yml (#105) REVERT: 5a8f791 Release yml 2 (#104) REVERT: 4303d65 Update release.yml (#103) REVERT: 4a6a795 Release yml 2 (#102) REVERT: fcb2034 Update release.yml (#101) REVERT: 7dac447 Update release.yml (#100) REVERT: c9a89b8 Update release.yml (#99) REVERT: 8e9515f Update release.yml (#98) REVERT: 1ca0c09 Ability to read SYSMON in both SLRs in VU7P (#95) REVERT: d97fd98 Read Loss of Signal and CDR Loss of Lock Alarms (#93) REVERT: 88a9a94 add github actions (move away from travis) (#97) REVERT: 49be97d Clang build (#94) REVERT: fdfc397 Update bug_report.md (#90) REVERT: 4c70953 Firefly task updates for 12-wide 25 G devices (#88) REVERT: 9d7f261 transferred all my changes to this new branch (#87) REVERT: 53317dc Rev 2 preparation (#86) REVERT: 881468e Minor cleanups (#83) REVERT: 6aca086 Firefly disable cmds (#81) REVERT: 5cd0794 Make fixes to I2CCommunication.c and clocksynth.c (#79) REVERT: 123182e fixing the waiting time between preamble/programing/postamble for clock synthesizer programming (#78) REVERT: 79dfaba Documentation updates. (#76) REVERT: 2bc76fb Code reformat (#75) REVERT: 08a9944 Initialization code for LGA80D power supplies (#71) REVERT: 00a5ea3 Clean ups and bug fix in generic ALARM task (#70) REVERT: 7e37189 Merge clocksynth into master (#69) REVERT: bfc154f Update alarm task to allow different types of alarms (#67) REVERT: 5c45b85 Ensure that NaNs and/or -55 (int) are sent when data is stale (#65) REVERT: 9b34215 Fix error handling for power supply mask (#64) REVERT: c0079b0 bug fix to address updated address table/missing data (#63) REVERT: 4f53d42 Power supply state machine clean-up and debugging code (#62) REVERT: 7e67c2e Fix bug in soft UART for MCU->ZYNQ data transfer (#61) REVERT: 17d3d37 Write and read from arbitrary FF registers (#58) REVERT: 985bd58 ff register ctl (#57) REVERT: 7d96a84 Cleanups (#56) REVERT: afa8bcc Better handling of asserts, hard faults (#52) REVERT: 280bf1b boot loader updates * Update directory locations and paths to allow use of microrl library in multiple apps (boot loader) * Update to allow a forced update based on input from the current default UART. * move boot loader to projects subdirectory * allow switch between FP and Zynq UART * remove eclipse files successfully tested bootloader with CLI REVERT: d48d759 Updates to error logger * new errors, continuation code * rename error logger cli REVERT: 5038d89 System stack updates * increase the system stack size * put in a canary into the system stack on boot * turn on FreeRTOS Idle Hook and use it to monitor changes to the canary * also add a printout of the high water mark into the CLI REVERT: 324860d Update .travis.yml (#49) REVERT: 776b86e Softuart test candidate (#34) REVERT: c50dedb fix rollover bug in uptime (#48) REVERT: 36b40d7 Update makedefs (#46) REVERT: a0a09b9 Temperature messages for error buffer (#45) REVERT: 75b6526 some code clean up based on cppcheck running (#44) REVERT: 4f97f84 New CLI interface (#43) REVERT: 1db0ead Merge pull request #42 from apollo-lhc/eeprom_buffer REVERT: 0e3966b Merge branch 'master' into eeprom_buffer REVERT: ee15952 Merge branch 'eeprom_buffer' of github.com:apollo-lhc/cm_mcu into eeprom_buffer REVERT: 98f5643 InitTask.c REVERT: 37aa00d Merge pull request #41 from apollo-lhc/eeprom_buffer REVERT: 3b06d8e Merge branch 'master' into eeprom_buffer REVERT: d811480 message counter for eeprom buffer REVERT: 2c912ae Fix incorrect ADC channel mapping (#40) REVERT: 331bd69 fix missing protection for FF registers and others (#38) REVERT: ac5b10c 2nd attempt for release integration (#37) REVERT: 231079f include release deployments into CI build process (#36) REVERT: 9f6de3c add CLI command to check FPGA done* (#35) REVERT: 497fbcf get variable # of entries for error buffer REVERT: ab9be6e error buffer entry config REVERT: bb83927 changed buffer init REVERT: 7cdd3a3 Merge branch 'master' into eeprom_buffer REVERT: 48055af EEPROM buffer working but incomplete REVERT: f3334a2 Makefile REVERT: 33da21d update REVERT: 26b017c project file REVERT: d818e5e WIP: eeprom buffer REVERT: 588e082 I2c slave (#33) REVERT: 14705f9 increased heap size REVERT: 856a473 EEPROM return queue REVERT: 6cf1b35 makefile update REVERT: e377118 EEPROM Task - memory issue REVERT: cf0cdb4 EEPROM gatekeeper task: read and write REVERT: 4d369fe WIP: EEPROM gatekeeper task REVERT: 105eabf Merge branch 'eeprom_buffer' of github.com:apollo-lhc/cm_mcu into eeprom_buffer REVERT: d386303 EEPROM info REVERT: 3446c5c some little fixes REVERT: cb266e1 eeprom id block commands REVERT: 49ccb66 switch to zynq uart for boot loader (#30) REVERT: d1b846f Mark stale monitoring data in CLI (#29) REVERT: 696d850 Gwen (#27): FPGA reset and eeprom for cm ID REVERT: d1ea15a a few small edits REVERT: 7ddc5e2 Some small additions to eeprom commands REVERT: 33061c1 Some small additions to eeprom commands REVERT: 882258e added EEPROM info command REVERT: 729e5de added EEPROM read and write commands REVERT: 15aab9a fixes to fpga reset REVERT: 87d0cf5 Merge branch 'gwen' of github.com:apollo-lhc/cm_mcu into gwen REVERT: 57ada7e added fpga reset REVERT: dcd859b Merge pull request #25 from apollo-lhc/gwen REVERT: be9f143 added include REVERT: cf2546b added restart command REVERT: 1cd9242 Flash bootloader (#22) REVERT: c00d23b Power ctl (#24) REVERT: e56328e Rename project2 to cm_mcu (#21) REVERT: f0e4ed0 Add ECU0 14 G tx to output disable REVERT: 86195bd Code cleanup, and some tools to modify SamTec FF registers. * enable or disable CDR on 4 ch XCVR * enable or disable laser on 4 ch XCVR REVERT: b30d55a Merge pull request #16 from apollo-lhc/cleanup REVERT: cd3eccf CLI comments, i2c reg write fix REVERT: 4c4ee49 Merge pull request #14 from apollo-lhc/cleanup REVERT: be10a80 Firefly monitoring bug fix, version info at CLI for build REVERT: 5f70c84 Cleanup, mainly \r\n vs \n continued, still not complete. mostly works with screen now. other cleanup includes fixing a buffer overflow (oops) REVERT: 8eecf3c Merge pull request #12 from apollo-lhc/fpga_mon REVERT: 0bb18bc Add alarm task Alarm task shuts off when temperature hits a critical value also code cleanup REVERT: 6fd1069 Add Xilinx FPGA temp readout; unify DCDC and FPGA I2C monitoring Also some code cleanup and rationalization REVERT: 0286a61 interim commit of making MonitorTask more generic REVERT: 2606927 clean up and centralize interrupt handler functions REVERT: d0e840f Merge pull request #11 from apollo-lhc/zynq_power_handshake REVERT: e61ea88 add a short delay between setting power off in internal register and turning off power REVERT: 9d9c10d Multiple CLI, power handshake testing and fixes for power handling REVERT: 280bf52 for two CLIs, interim commit where one CLI works REVERT: 6f3273e update makefile handling of GIT to prevent unneeded builds. REVERT: a0e57e5 merge commit REVERT: b325259 Merge branch 'zynq_power_handshake' of https://github.com/apollo-lhc/cm_mcu into zynq_power_handshake REVERT: 0593639 UART cleanup REVERT: 8ecdbbe handle both UARTs more correctly REVERT: 866aae5 mainly power control updates REVERT: 2f3de57 Merge pull request #10 from apollo-lhc/firefly-dev REVERT: 80a6b4c debugged FF task with CLI REVERT: 2ed5b74 Update MonitorTask.c REVERT: d464fa8 add CLI for FF temperatures REVERT: 2abb06a update handling of BLADE_POWER_EN/OK also clean up some of the handling of UARTs for two possible CLIs, and clean up some of the code around power handling. REVERT: b3729b9 I though t I would avoid merge commits with the rebase, ugh Merge branch 'firefly-dev' of https://github.com/apollo-lhc/cm_mcu into firefly-dev REVERT: a1a2e40 firefly monitor temperature task, not yet hooked in to main() REVERT: a557912 UART cleanup REVERT: feb9b79 handle both UARTs more correctly REVERT: b82a11a mainly power control updates REVERT: a8e8881 Merge pull request #4 from apollo-lhc/i2chang_fix REVERT: 07bb111 Merge branch 'i2chang_fix' of github.com:apollo-lhc/cm_mcu into i2chang_fix REVERT: 1a6ef1c Update MonitorTask.c REVERT: 17dbf85 start of a task to monitor firefly samtec devices REVERT: 8c2bd00 start of a task to monitor firefly samtec devices REVERT: 74d2747 Update MonitorTask.c REVERT: c30492c Merge pull request #3 from apollo-lhc/pwittich-patch-1 REVERT: 23d60fd Update README.md and travis config REVERT: 978870a Turn on rest of I2C masters (now have I2C 1,2,3,4, and 6). REVERT: f58cd7f update on i2c code * remove obsolete fully polling version of the code (well, disable it) * update command line tools to work with the SMBus version for I2C1 and I2C4 only for now REVERT: 734f560 General clean up and some new features * I2C code now uses MAP_ functions from rOM more consistently * convert float to Linear11 utility function * rearrange ADC outputs to make more sense * add command line task to suspend a task * switch monitorTask to use SMBUS interface globally REVERT: 31bed32 Merge pull request #2 from apollo-lhc/adctest REVERT: 9569a6b Clean up and final bug fixes of ADC task. REVERT: c969cd8 ADC updates, mostly working. REVERT: 0aa8cb1 Merge branch 'adctest' of https://github.com/apollo-lhc/cm_mcu into adctest REVERT: 6f9c7ef initial ADC test code REVERT: 4907b95 travis updates REVERT: b625485 travis updates REVERT: 80b9b53 Update .travis.yml REVERT: 1f59aba get compiler via apt REVERT: 97a7cf5 Update RandomTask.c REVERT: dd21045 change which registers to monitor and add a minimum value to be stored too (just accessible via debugger) REVERT: 9636636 travis updates REVERT: e72deaa travis updates REVERT: 8567e23 Update .travis.yml REVERT: 5eb2d21 get compiler via apt REVERT: 4ff694f Update RandomTask.c REVERT: f0942bf Diverse updates to the project * use ARM DWP for timer for task statistics * rename UART queue to show its purpose * i2c scan task updates (only works with I2C4 right now) * add SMBUS code for I2C4 * make I2C code in command line task use the SMBUS interrupt-driven code REVERT: 001c06b Use DWT for better task statistics (ARM M4 register) REVERT: 5fd5dc5 Various updates to project2 * update logic in power control, report new failed supply on UART * add error checking in I2C, does not appear to work * add i2c_scan command, fix other bugs in command line * reduce clock speed to 40 MHz. Could probably reduce more. * add more monitoring registers to monitoring commad REVERT: 658c476 Updates * fix bug in the pin selection (missing pin 0 name caused names wrong) * create a power supply state array to track state of arrays * clean handling of checking of PS again -- hopefully got it right now * more command line tasks, including power supply status * other clean ups REVERT: d47ffbd Zynq UART REVERT: 4ec63d9 Merge branch 'master' of github.com:apollo-lhc/cm_mcu REVERT: db27620 update i2c handling to allow to choose i2c device via command line REVERT: e98cd3a rename some variables to make their intent more clear. REVERT: d83c751 remove obsolete project0 from build REVERT: dd29e5e UART to Zynq support REVERT: 6ab38ff updates to top-level project file * enable system (and interrupts) after setting up FreeRTOS * start putting in support for UART from Zynq REVERT: 7b1d529 update readme REVERT: d145387 cleanup REVERT: 5f553d7 handle bad supply on startup properly REVERT: 0e2fe8a Update CommandLineTask.c REVERT: f164db2 bug fixes on v0.3.0 REVERT: ffd0220 monitoring first pass complete REVERT: 39149f9 old freertos project REVERT: bfbf381 Create i2c_reg.c REVERT: 3d0be8b i2c-sensors test project REVERT: 81ee2b1 bug fix in page selection for powr supplies REVERT: 20f22f0 Merge branch 'master' of https://github.com/apollo-lhc/cm_mcu REVERT: 0e4ddb7 minor documentation fixes REVERT: bb974b2 Update .travis.yml REVERT: a4093f6 Cleanup of the I2C power supply monitoring task REVERT: eecd3e2 Update .travis.yml REVERT: 68866e1 Update .travis.yml REVERT: c24e529 Update .travis.yml REVERT: 19c6d00 Update .travis.yml REVERT: f89bf22 Merge branch 'master' of https://github.com/apollo-lhc/cm_mcu REVERT: f2b569f Create .travis.yml REVERT: 4c244a0 Update issue templates REVERT: f9ca666 priority for I2C interrupt REVERT: be178cf Update FreeRTOSConfig.h REVERT: b5d2952 SMBus + Random task REVERT: c0885cb Update CommandLineTask.c REVERT: 31cfc74 SMBus/PMBUS REVERT: e4ce318 Update i2c_reg.c REVERT: 3a00459 Update README.md REVERT: 347fdd7 Update CommandLineTask.c REVERT: a8c6bc0 Update FreeRTOSConfig.h REVERT: e0e0b26 Update PowerSupplyTask.c REVERT: 7e8d1da power-control updates REVERT: df7462f Update project2.c REVERT: da45f95 Update startup_gcc.c REVERT: 6681946 Update Makefile REVERT: 61027d9 Update i2c_reg.c REVERT: b3c6220 active low pins REVERT: 4342649 Update pinsel.c REVERT: f81e2d2 Update README.md REVERT: 5f0694b Change I2C reset to open drain on TM4C REVERT: 98e2ad0 updates to interrupts REVERT: 0896bd4 re-enable the configASSERT REVERT: 8281f04 Update uart.c REVERT: c3e07b2 remove probably unneeded eclipse file REVERT: 28a4c21 LED, i2c, power control tasks REVERT: 7db2955 version tracking REVERT: 649190a Update i2c_reg.h REVERT: c9f76c5 clean up unused files in project2 and some Eclipse project changes. REVERT: 1eec59f Updates to the LED task. Work in progress. REVERT: 0f2c13e more messages for the LED message queue REVERT: 27aeba2 CLI and task updates REVERT: ce69104 LedTask updates REVERT: 70fc0e9 disable another #$@#$ warning REVERT: d1218c0 power supply task updates REVERT: d7449b4 Eclipse project files REVERT: a951758 rudimentary CLI on FreeRTOS REVERT: badc506 pwr ctl REVERT: bfa6f51 Update startup_gcc.c REVERT: df110a7 Create printf-stdarg.c REVERT: 598f57c Update README.md REVERT: 10a773c Update README.md REVERT: 038b862 Interim commit for command line task REVERT: 72b2429 FreeRTOS version 1 REVERT: e3b6bbf Update project0.c REVERT: f6fe003 add names of pins REVERT: 9cf3364 makefile updates REVERT: edab2a7 Update project2.c REVERT: a34cdfe Update pinsel.c REVERT: a704952 blade power ok LED REVERT: 12a6c98 Update power_ctl.c REVERT: 90e3b54 rearrange and clean-up REVERT: 68e9c06 reorganization board_specific -> common REVERT: 6603e56 makefile updates REVERT: fc18240 working power-on project REVERT: cfd32cd Update i2c_reg.c REVERT: bafca19 Eclipse file updates REVERT: 56b99bb update pinsel adding error handling a la Tivaware library REVERT: 892c2de Update uart_echo.c REVERT: 7d58853 pin definitions REVERT: ff556c1 remove unused binaries from other compilers REVERT: 1a56c6c Update blinky.c REVERT: 038f38d remove JTAG pin defs REVERT: d36fb73 Update i2c_reg.h REVERT: e141a47 Update pinsel.h REVERT: 1fb88e8 fix clocking REVERT: b87d74d Merge branch 'master' of https://github.com/apollo-lhc/cm_mcu REVERT: f76f73b makefile updates for right Si version of TM4C REVERT: 084a060 update eclipse project to be more generic. now require you to set the environment variables to point to the FREERTOS install. REVERT: 218bbc7 eclipse project updates REVERT: 24e7bdd CLI start REVERT: cbe80f3 command line project updates REVERT: 40a58e6 fix interrupt handlers for FreeRTOS usage REVERT: e4f0a57 updates to project2 REVERT: 65f2096 bugs in uart_echo REVERT: 5780dce Create README.md REVERT: 118d5cc project2 -- new FreeRTOS project REVERT: 2d183c4 makefile updates REVERT: d71006c Update project0.c REVERT: 3047cb8 eclipse-cdt settings REVERT: c4f51c9 start of a project using FreeRTOS, based on an example project. REVERT: cd7bbb5 Update makefiles REVERT: f8f0d37 Update README.md REVERT: eedf0ba FreeRTOS first steps REVERT: a27b2ca Update i2c_reg.c REVERT: 9b92ef9 Create i2c_reg.c REVERT: 8c3302f Update .gitignore REVERT: 99ce54c rm unused files REVERT: f6676e0 rm unused files REVERT: 8fde65d Update project0.c REVERT: 1342b0d switch to c11 from c99 REVERT: 39f0104 new gpio write and read REVERT: b2ab073 new GPIO pin selection REVERT: afd1adf cleanup uart_echo project REVERT: 9c07762 add toplevel makefile REVERT: 313a320 add PS check to main loop REVERT: f1a157e add a first pass to turn on the HW REVERT: 4a4becf remove mfloat-abit compiler directive this is needed to make the link work on Petalinux arm compiler tools. REVERT: 0581224 Update makefiles * TM4C1290NCPDF part for all projects * include local pin init for project0 REVERT: 624e2a3 clean non-gcc files REVERT: 6985bc4 dos 2 unix REVERT: d7e4a36 project0, uart_echo and gitignore REVERT: ec7de25 remove executables REVERT: c29bfb9 reindent REVERT: 4d13cf5 Update blinky.c REVERT: 900f11c clean-up REVERT: bae1446 includes from tivaware; updated make file REVERT: 2df84b2 makedefs and update to gitignore REVERT: 33ebe9f pinmux files REVERT: 50c9e45 driverlib from tivaware REVERT: 0c64689 some basic projects for turn-on REVERT: 239b0ea Initial commit git-subtree-dir: sm_cm_config git-subtree-split: 855b371
pwittich
added a commit
that referenced
this pull request
Oct 10, 2023
5ad5777 pylintrc 9d52641 updates for tying py scripts into build 9cc682c resolve merge conflict 807b672 Merge commit '860c84667d17527530eb60f86cc0e143aeee1f58' into dev_zynqmon_path adda656 Merge commit 'fa582d9a095776363b0ed398c672732d541dad92' into dev_zynqmon_path e2f1a23 Merge commit '2a7bdb3df644c783a8f18d7662d4f8ec48b07617' into dev_zynqmon_path d24c674 Merge commit 'c16e3bee7e9ee31655f83527ba66336d42a01e5e' into dev_zynqmon_path f1ed0c3 Merge commit 'df85c9b4a3bfb9d24048ebb2426b7aa33e5a4eb9' into dev_zynqmon_path 19725a6 Merge commit 'ad28e5906ebe85a049cbb4b1fe8a69282201be87' into dev_zynqmon_path 38d31f5 Merge commit 'ad28e5906ebe85a049cbb4b1fe8a69282201be87' into dev_zynqmon_path ad28e59 Squashed 'sm_cm_config/' changes from 137e4c2..4fbba1f 507833c apply clang format (mostly to sm_cm_config) db5d4a1 apply clang format (mostly to sm_cm_config) dadc7f5 Merge tag 'v0.99.5' into dev_zynqmon_path 06405f2 Squashed 'sm_cm_config/' content from commit 137e4c2 8d77252 Merge commit '06405f20a51b0cf5f5dc6adf0f3fb4cf32241309' as 'sm_cm_config' 598cf5d a better start bit scheme 142ccbb fix build failed bdbee5c add all inventory info and successfully sent 38de269 working version with all clock configs sent f65828d combine ff is present + is 25gbs to one data steam 9faf3a8 Merge branch 'dev_zynqmon_path' of github.com:apollo-lhc/cm_mcu into dev_zynqmon_path 836ce33 fix bugs for sending present bits 4d1a2e7 Merge branch 'master' into dev_zynqmon_path c709640 fix bug in the 2nd fpga i2c device response to ipmc (#193) 5f95c6a fix a bug from optical power check f94713b fix rev1 build failed c3aa400 success sending a clock config version to zynq (just r0a for now) e40172b fix build bug 3aee00c need a return to prevent codacy 8b44241 change configASSERT to if cond't 7c09f91 maybe last attempt to fix codacy 8c64db0 fix codacy 52a307d fix clang 53c4bc9 fix codacy 5728596 fix bug + codacy e38a77a fix codacy 01c42c2 fix clang format 4e272e2 fix cadacy complaint again 7ae9519 fix cadacy complaint again e2ce330 resolve built failed 3acf338 try resolve codacy again 8fc25af fix cadacy complaint again d9dee06 fix cadacy complaint a222b9e fix REV1 failed 2e5564e add clkconfig in zynq data 6e5cf78 try again de85809 try to solve shifting 32-bit by 251-bit 18c177a success sending clk + ff info except optical power 55307b3 modify zynqmon + assisted by mcu_generate for data d8483f2 sync code to sm_cm_config 9c01e0a enlarge ZM*ENTRIES 95bcaf1 separate 12-ch and 4-ch to send via zynqmon 7f933ee fix clock data type to be consistent with sm_cm_config cf92d98 fix codacy v3 9997053 fix codacy v2 ab346a7 fix codacy 624308c fix Clang 26f1476 Merge branch 'master' into dev_zynqmon_path 0435b16 a few numerical error e86da9a update README 96cca28 add optical power info to FFDAQ+FF12 w/ 25Gbs in MONI2C and Zynq bc04d3f Fix bug in how the PG is handled for the 3.8V firefly supply (#189) 2a56f47 add missing semaphore to FPGA monitoring task (#188) 7c0a6b7 clear clock sticky bits in initial task (#186) 29997b5 update count and start as in yaml_2 2f2d1c3 a minor clk bug c03180c add new zynqmon_data blocks for clk and ff's 12-ch part + present bit-mask d1a2c14 Add a power control state machine state 6 for controlling V3.8 needed for Samtec 12-ch 25Gbs (#183) cd555aa Turn FreeRTOS use into a submodule (#185) 8b122b8 Implement "all" argument for monitoring and resetting power supplies all at once (#180) d7c0957 Bugfix/gitversion zmon (#181) dd59ed7 Add information about Clock program into the CLI (#177) a545bca Bug fix: update how stale data is handled for monitor tasks (#178) 287b1f8 Alarm tasks for votages (#171) 1c5ddde I2c device fix (#175) 5045342 Add check to every Semaphore Take and Give (#168) 186f4aa GitHub actions fix (#172) 315d573 Bug fix: add 'DOWN' state to power control state machine strings (#170) 4af28bb add new 'powering down' state to PS state machine (#169) ef3f0c9 Improvement on sem_ctl + psreg (#167) 9e857db Semaphore cleanup (#165) 71a2ecf Fix misc bugs (#164) e37ed20 Add CLI to take/release I2C mutex (#154) fcebefd require a check on 3.3V power supply for loadclock (#157) 8ad8b7b CLI for turning on 3.8V for power supplies (#153) b923b86 Update makedefs (#152) db98ea8 detect first-time loading mcu FW (#145) 7525cb2 Fix hardcode in InitTask from issue #148 (#149) 2e85741 Hotfix for issues running on Rev1 (#146) c279268 only run clang-format GitHub action if there are changed files (#143) 34456be Automatically commit clang-format fixes (#142) 9a3c85f Implementing new monitor i2c task to replace ffl task and add clock registers (#136) 6cce566 add quit init clock loading if garbage EEPROM is detected (#138) ee0605d Allow override of PS configuration (#137) 383a9dd Various small cleanups and add GH action for formatting. (#134) 45cd2c0 Fix bug in interaction between power supply and alarm tasks (#133) fd88b9c Zynq monitoring generalization and updates for Rev2 (#132) 36f7c37 Read EEPROM first revision (#131) d19821c ADCMon and LOG updates (#130) ec7d7aa Clean up logging in Firefly Task and set/reset page register (#129) 3526ea6 Fix regression on I2C register reading (#128) 8322137 Code cleanup (#127) 637f5db Rev2b eeprom (#125) 4479f34 I/O expander initialization; GPIO CLI tool, some refinement of RTC interface (#122) 0b478bc Some minor string improvements (#121) e86a596 Simplify compilation (#120) 41c0a93 Update release.yml (#119) a78bdc9 Enable RTC in Hibernation module and add a basic CLI for setting it (#118) c9786d5 Add a more generic logger interface and continue Rev2 fixes (#116) b843918 MCU code for Rev 2 CM (#114) 85b6cfb use of I2C communications layer (#112) cb839a0 Create codeql-analysis.yml (#111) 9832804 Fix error in Zynq data path; watchdog task start (#110) 0731fc3 restore debug build compile (#109) 554138e Update release.yml (#108) 69c43b4 Update release.yml (#107) a379b34 Update release.yml (#106) c69c8bd Update release.yml (#105) 5a8f791 Release yml 2 (#104) 4303d65 Update release.yml (#103) 4a6a795 Release yml 2 (#102) fcb2034 Update release.yml (#101) 7dac447 Update release.yml (#100) c9a89b8 Update release.yml (#99) 8e9515f Update release.yml (#98) 1ca0c09 Ability to read SYSMON in both SLRs in VU7P (#95) d97fd98 Read Loss of Signal and CDR Loss of Lock Alarms (#93) 88a9a94 add github actions (move away from travis) (#97) 49be97d Clang build (#94) fdfc397 Update bug_report.md (#90) 4c70953 Firefly task updates for 12-wide 25 G devices (#88) 9d7f261 transferred all my changes to this new branch (#87) 53317dc Rev 2 preparation (#86) 881468e Minor cleanups (#83) 6aca086 Firefly disable cmds (#81) 5cd0794 Make fixes to I2CCommunication.c and clocksynth.c (#79) 123182e fixing the waiting time between preamble/programing/postamble for clock synthesizer programming (#78) 79dfaba Documentation updates. (#76) 2bc76fb Code reformat (#75) 08a9944 Initialization code for LGA80D power supplies (#71) 00a5ea3 Clean ups and bug fix in generic ALARM task (#70) 7e37189 Merge clocksynth into master (#69) bfc154f Update alarm task to allow different types of alarms (#67) 5c45b85 Ensure that NaNs and/or -55 (int) are sent when data is stale (#65) 9b34215 Fix error handling for power supply mask (#64) c0079b0 bug fix to address updated address table/missing data (#63) 4f53d42 Power supply state machine clean-up and debugging code (#62) 7e67c2e Fix bug in soft UART for MCU->ZYNQ data transfer (#61) 17d3d37 Write and read from arbitrary FF registers (#58) 985bd58 ff register ctl (#57) 7d96a84 Cleanups (#56) afa8bcc Better handling of asserts, hard faults (#52) 280bf1b boot loader updates * Update directory locations and paths to allow use of microrl library in multiple apps (boot loader) * Update to allow a forced update based on input from the current default UART. * move boot loader to projects subdirectory * allow switch between FP and Zynq UART * remove eclipse files successfully tested bootloader with CLI d48d759 Updates to error logger * new errors, continuation code * rename error logger cli 5038d89 System stack updates * increase the system stack size * put in a canary into the system stack on boot * turn on FreeRTOS Idle Hook and use it to monitor changes to the canary * also add a printout of the high water mark into the CLI 324860d Update .travis.yml (#49) 776b86e Softuart test candidate (#34) c50dedb fix rollover bug in uptime (#48) 36b40d7 Update makedefs (#46) a0a09b9 Temperature messages for error buffer (#45) 75b6526 some code clean up based on cppcheck running (#44) 4f97f84 New CLI interface (#43) 1db0ead Merge pull request #42 from apollo-lhc/eeprom_buffer 0e3966b Merge branch 'master' into eeprom_buffer ee15952 Merge branch 'eeprom_buffer' of github.com:apollo-lhc/cm_mcu into eeprom_buffer 98f5643 InitTask.c 37aa00d Merge pull request #41 from apollo-lhc/eeprom_buffer 3b06d8e Merge branch 'master' into eeprom_buffer d811480 message counter for eeprom buffer 2c912ae Fix incorrect ADC channel mapping (#40) 331bd69 fix missing protection for FF registers and others (#38) ac5b10c 2nd attempt for release integration (#37) 231079f include release deployments into CI build process (#36) 9f6de3c add CLI command to check FPGA done* (#35) 497fbcf get variable # of entries for error buffer ab9be6e error buffer entry config bb83927 changed buffer init 7cdd3a3 Merge branch 'master' into eeprom_buffer 48055af EEPROM buffer working but incomplete f3334a2 Makefile 33da21d update 26b017c project file d818e5e WIP: eeprom buffer 588e082 I2c slave (#33) 14705f9 increased heap size 856a473 EEPROM return queue 6cf1b35 makefile update e377118 EEPROM Task - memory issue cf0cdb4 EEPROM gatekeeper task: read and write 4d369fe WIP: EEPROM gatekeeper task 105eabf Merge branch 'eeprom_buffer' of github.com:apollo-lhc/cm_mcu into eeprom_buffer d386303 EEPROM info 3446c5c some little fixes cb266e1 eeprom id block commands 49ccb66 switch to zynq uart for boot loader (#30) d1b846f Mark stale monitoring data in CLI (#29) 696d850 Gwen (#27): FPGA reset and eeprom for cm ID d1ea15a a few small edits 7ddc5e2 Some small additions to eeprom commands 33061c1 Some small additions to eeprom commands 882258e added EEPROM info command 729e5de added EEPROM read and write commands 15aab9a fixes to fpga reset 87d0cf5 Merge branch 'gwen' of github.com:apollo-lhc/cm_mcu into gwen 57ada7e added fpga reset dcd859b Merge pull request #25 from apollo-lhc/gwen be9f143 added include cf2546b added restart command 1cd9242 Flash bootloader (#22) c00d23b Power ctl (#24) e56328e Rename project2 to cm_mcu (#21) f0e4ed0 Add ECU0 14 G tx to output disable 86195bd Code cleanup, and some tools to modify SamTec FF registers. * enable or disable CDR on 4 ch XCVR * enable or disable laser on 4 ch XCVR b30d55a Merge pull request #16 from apollo-lhc/cleanup cd3eccf CLI comments, i2c reg write fix 4c4ee49 Merge pull request #14 from apollo-lhc/cleanup be10a80 Firefly monitoring bug fix, version info at CLI for build 5f70c84 Cleanup, mainly \r\n vs \n continued, still not complete. mostly works with screen now. other cleanup includes fixing a buffer overflow (oops) 8eecf3c Merge pull request #12 from apollo-lhc/fpga_mon 0bb18bc Add alarm task Alarm task shuts off when temperature hits a critical value also code cleanup 6fd1069 Add Xilinx FPGA temp readout; unify DCDC and FPGA I2C monitoring Also some code cleanup and rationalization 0286a61 interim commit of making MonitorTask more generic 2606927 clean up and centralize interrupt handler functions d0e840f Merge pull request #11 from apollo-lhc/zynq_power_handshake e61ea88 add a short delay between setting power off in internal register and turning off power 9d9c10d Multiple CLI, power handshake testing and fixes for power handling 280bf52 for two CLIs, interim commit where one CLI works 6f3273e update makefile handling of GIT to prevent unneeded builds. a0e57e5 merge commit b325259 Merge branch 'zynq_power_handshake' of https://github.com/apollo-lhc/cm_mcu into zynq_power_handshake 0593639 UART cleanup 8ecdbbe handle both UARTs more correctly 866aae5 mainly power control updates 2f3de57 Merge pull request #10 from apollo-lhc/firefly-dev 80a6b4c debugged FF task with CLI 2ed5b74 Update MonitorTask.c d464fa8 add CLI for FF temperatures 2abb06a update handling of BLADE_POWER_EN/OK also clean up some of the handling of UARTs for two possible CLIs, and clean up some of the code around power handling. b3729b9 I though t I would avoid merge commits with the rebase, ugh Merge branch 'firefly-dev' of https://github.com/apollo-lhc/cm_mcu into firefly-dev a1a2e40 firefly monitor temperature task, not yet hooked in to main() a557912 UART cleanup feb9b79 handle both UARTs more correctly b82a11a mainly power control updates a8e8881 Merge pull request #4 from apollo-lhc/i2chang_fix 07bb111 Merge branch 'i2chang_fix' of github.com:apollo-lhc/cm_mcu into i2chang_fix 1a6ef1c Update MonitorTask.c 17dbf85 start of a task to monitor firefly samtec devices 8c2bd00 start of a task to monitor firefly samtec devices 74d2747 Update MonitorTask.c c30492c Merge pull request #3 from apollo-lhc/pwittich-patch-1 23d60fd Update README.md and travis config 978870a Turn on rest of I2C masters (now have I2C 1,2,3,4, and 6). f58cd7f update on i2c code * remove obsolete fully polling version of the code (well, disable it) * update command line tools to work with the SMBus version for I2C1 and I2C4 only for now 734f560 General clean up and some new features * I2C code now uses MAP_ functions from rOM more consistently * convert float to Linear11 utility function * rearrange ADC outputs to make more sense * add command line task to suspend a task * switch monitorTask to use SMBUS interface globally 31bed32 Merge pull request #2 from apollo-lhc/adctest 9569a6b Clean up and final bug fixes of ADC task. c969cd8 ADC updates, mostly working. 0aa8cb1 Merge branch 'adctest' of https://github.com/apollo-lhc/cm_mcu into adctest 6f9c7ef initial ADC test code 4907b95 travis updates b625485 travis updates 80b9b53 Update .travis.yml 1f59aba get compiler via apt 97a7cf5 Update RandomTask.c dd21045 change which registers to monitor and add a minimum value to be stored too (just accessible via debugger) 9636636 travis updates e72deaa travis updates 8567e23 Update .travis.yml 5eb2d21 get compiler via apt 4ff694f Update RandomTask.c f0942bf Diverse updates to the project * use ARM DWP for timer for task statistics * rename UART queue to show its purpose * i2c scan task updates (only works with I2C4 right now) * add SMBUS code for I2C4 * make I2C code in command line task use the SMBUS interrupt-driven code 001c06b Use DWT for better task statistics (ARM M4 register) 5fd5dc5 Various updates to project2 * update logic in power control, report new failed supply on UART * add error checking in I2C, does not appear to work * add i2c_scan command, fix other bugs in command line * reduce clock speed to 40 MHz. Could probably reduce more. * add more monitoring registers to monitoring commad 658c476 Updates * fix bug in the pin selection (missing pin 0 name caused names wrong) * create a power supply state array to track state of arrays * clean handling of checking of PS again -- hopefully got it right now * more command line tasks, including power supply status * other clean ups d47ffbd Zynq UART 4ec63d9 Merge branch 'master' of github.com:apollo-lhc/cm_mcu db27620 update i2c handling to allow to choose i2c device via command line e98cd3a rename some variables to make their intent more clear. d83c751 remove obsolete project0 from build dd29e5e UART to Zynq support 6ab38ff updates to top-level project file * enable system (and interrupts) after setting up FreeRTOS * start putting in support for UART from Zynq 7b1d529 update readme d145387 cleanup 5f553d7 handle bad supply on startup properly 0e2fe8a Update CommandLineTask.c f164db2 bug fixes on v0.3.0 ffd0220 monitoring first pass complete 39149f9 old freertos project bfbf381 Create i2c_reg.c 3d0be8b i2c-sensors test project 81ee2b1 bug fix in page selection for powr supplies 20f22f0 Merge branch 'master' of https://github.com/apollo-lhc/cm_mcu 0e4ddb7 minor documentation fixes bb974b2 Update .travis.yml a4093f6 Cleanup of the I2C power supply monitoring task eecd3e2 Update .travis.yml 68866e1 Update .travis.yml c24e529 Update .travis.yml 19c6d00 Update .travis.yml f89bf22 Merge branch 'master' of https://github.com/apollo-lhc/cm_mcu f2b569f Create .travis.yml 4c244a0 Update issue templates f9ca666 priority for I2C interrupt be178cf Update FreeRTOSConfig.h b5d2952 SMBus + Random task c0885cb Update CommandLineTask.c 31cfc74 SMBus/PMBUS e4ce318 Update i2c_reg.c 3a00459 Update README.md 347fdd7 Update CommandLineTask.c a8c6bc0 Update FreeRTOSConfig.h e0e0b26 Update PowerSupplyTask.c 7e8d1da power-control updates df7462f Update project2.c da45f95 Update startup_gcc.c 6681946 Update Makefile 61027d9 Update i2c_reg.c b3c6220 active low pins 4342649 Update pinsel.c f81e2d2 Update README.md 5f0694b Change I2C reset to open drain on TM4C 98e2ad0 updates to interrupts 0896bd4 re-enable the configASSERT 8281f04 Update uart.c c3e07b2 remove probably unneeded eclipse file 28a4c21 LED, i2c, power control tasks 7db2955 version tracking 649190a Update i2c_reg.h c9f76c5 clean up unused files in project2 and some Eclipse project changes. 1eec59f Updates to the LED task. Work in progress. 0f2c13e more messages for the LED message queue 27aeba2 CLI and task updates ce69104 LedTask updates 70fc0e9 disable another #$@#$ warning d1218c0 power supply task updates d7449b4 Eclipse project files a951758 rudimentary CLI on FreeRTOS badc506 pwr ctl bfa6f51 Update startup_gcc.c df110a7 Create printf-stdarg.c 598f57c Update README.md 10a773c Update README.md 038b862 Interim commit for command line task 72b2429 FreeRTOS version 1 e3b6bbf Update project0.c f6fe003 add names of pins 9cf3364 makefile updates edab2a7 Update project2.c a34cdfe Update pinsel.c a704952 blade power ok LED 12a6c98 Update power_ctl.c 90e3b54 rearrange and clean-up 68e9c06 reorganization board_specific -> common 6603e56 makefile updates fc18240 working power-on project cfd32cd Update i2c_reg.c bafca19 Eclipse file updates 56b99bb update pinsel adding error handling a la Tivaware library 892c2de Update uart_echo.c 7d58853 pin definitions ff556c1 remove unused binaries from other compilers 1a56c6c Update blinky.c 038f38d remove JTAG pin defs d36fb73 Update i2c_reg.h e141a47 Update pinsel.h 1fb88e8 fix clocking b87d74d Merge branch 'master' of https://github.com/apollo-lhc/cm_mcu f76f73b makefile updates for right Si version of TM4C 084a060 update eclipse project to be more generic. now require you to set the environment variables to point to the FREERTOS install. 218bbc7 eclipse project updates 24e7bdd CLI start cbe80f3 command line project updates 40a58e6 fix interrupt handlers for FreeRTOS usage e4f0a57 updates to project2 65f2096 bugs in uart_echo 5780dce Create README.md 118d5cc project2 -- new FreeRTOS project 2d183c4 makefile updates d71006c Update project0.c 3047cb8 eclipse-cdt settings c4f51c9 start of a project using FreeRTOS, based on an example project. cd7bbb5 Update makefiles f8f0d37 Update README.md eedf0ba FreeRTOS first steps a27b2ca Update i2c_reg.c 9b92ef9 Create i2c_reg.c 8c3302f Update .gitignore 99ce54c rm unused files f6676e0 rm unused files 8fde65d Update project0.c 1342b0d switch to c11 from c99 39f0104 new gpio write and read b2ab073 new GPIO pin selection afd1adf cleanup uart_echo project 9c07762 add toplevel makefile 313a320 add PS check to main loop f1a157e add a first pass to turn on the HW 4a4becf remove mfloat-abit compiler directive this is needed to make the link work on Petalinux arm compiler tools. 0581224 Update makefiles * TM4C1290NCPDF part for all projects * include local pin init for project0 624e2a3 clean non-gcc files 6985bc4 dos 2 unix d7e4a36 project0, uart_echo and gitignore ec7de25 remove executables c29bfb9 reindent 4d13cf5 Update blinky.c 900f11c clean-up bae1446 includes from tivaware; updated make file 2df84b2 makedefs and update to gitignore 33ebe9f pinmux files 50c9e45 driverlib from tivaware 0c64689 some basic projects for turn-on 239b0ea Initial commit git-subtree-dir: sm_cm_config git-subtree-split: 5ad5777
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Also streamline logic in
VoltStatus
and try to document some changes