1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559
|
2012-02-04 Thomas K <tomk@sce-gbr.de>
* Bugfix: creating src/python/Makefile by configure missed
2012-02-04 Thomas K <tomk@sce-gbr.de>
* Bugfix makefiles: pysimulationmember.h wasn't packed in dist
2012-02-04 Thomas K <tomk@sce-gbr.de>
* Bugfix delivery-check script: dist check wasn't done, if build doxygen doc wasn't selected
2012-01-29 Petr Hluzin <petr.hluzin@gmail.com>
* Fixed indentation which I broke by my previous commit.
2012-01-22 Petr Hluzin <petr.hluzin@gmail.com>
* Do not reject programs compiled with `#include <avr/signature.h>'
2012-01-22 Petr Hluzin <petr.hluzin@gmail.com>
* Fixed indentation.
2012-01-15 Petr Hluzin <petr.hluzin@gmail.com>
* Fix: If program clears the interrupt flag, then interrupt should not fire.
2012-01-11 Petr Hluzin <petr.hluzin@gmail.com>
* Add BREAK-instruction, causes simulavr to halt.
2012-01-04 Petr Hluzin <petr.hluzin@gmail.com>
* Fixed ICALL instruction timing.
2012-01-04 Thomas K <tomk@sce-gbr.de>
* Add tool tab-check.py: a script to count tabs in source files. It should help to decrease changes only because of tabs (because developers can use different tab spacing and start to indent code against his tab space setting to make code more readable, but the next developer maybe will change this again because of another tab spacing)
2011-12-29 Thomas K <tomk@sce-gbr.de>
* Bump version to 1.0rc1.
2011-12-29 Thomas K <tomk@sce-gbr.de>
* Add header files for at90canbase and atmega8 to package headers to fix buggy package, which is created by "make dist"
2011-12-29 Thomas K <tomk@sce-gbr.de>
* Bugfix for delivery-check.conf.sample: one line wasn't commented out, so it was interpreted as shell command
2011-12-29 Thomas K <tomk@sce-gbr.de>
* Introduce a bash shell script to run a check, if one or more new commits are ready to push to savannah. It clones the git repo to a new directory, runs there the complete build sequence (bootstrap, configure, make), build, if configured, doxygen and sphinx docu, verilog and tcl module (python module is build in every case) and creates also dist package (+ checks this package by running build sequence) See sample config file delivery-check.conf.sample and run "./delivery-check -h" for command line options.
2011-12-21 Petr Hluzin <petr.hluzin@gmail.com>
* Fixed build failures under gcc-4.4.5
2011-12-14 Petr Hluzin <petr.hluzin@gmail.com>
* Fixed build failures under gcc-4.4.5
2011-12-04 Petr Hluzin <petr.hluzin@gmail.com>
* Fixed whitespace broken by my previous commit.
2011-12-04 Petr Hluzin <petr.hluzin@gmail.com>
* Reworked std::multimap in SystemClock::Step() to binary heap -> 2.5x speedup. The multimap contains one AvrDevice* (if single-core simulation) and possibly serialrx/serialtx (if UI is used). Allocations and deallocations in the container took ~50% of CPU time. After rework the simulation speed improved from 3.28 MIPS to 8.2 MIPS on my PC on busy-loop test using MSVC. Similar speedup when GCC is used. (See https://savannah.nongnu.org/support/?106678 for performance details.) Still, the MinHeap::RemoveMinimumAndInsert() costs 5.5% exclusive time (6.7 ns/cycle) and SystemClock::Step() 11.5% exclusive time (possibly includes inlined stuff). Maybe we can improve that further.
2011-11-27 Petr Hluzin <petr.hluzin@gmail.com>
* (IrqFunktor creation made slightly more readable.)
2011-11-27 Petr Hluzin <petr.hluzin@gmail.com>
* Added comment about how to compile without BFD library on Linux. The ./configure cannot find my /usr/include/bfd.h and /usr/i686-pc-linux-gnu/lib/libbfd.a and I do not know how to persuade it. I thought autoconf was supposed to help people.
2011-11-20 Petr Hluzin <petr.hluzin@gmail.com>
* Simplifying interrupt handling. The old `newIrqPc' mechanism: When irqSystem->GetNewPc() returned the new PC value, then the next Step() invocation arrived on if(noDirectIrqJump == 0) and executed `else' branch. Therefore one more ordinary instruction was executed and interrupt hander was invoked in next Step() invocation. This looks similar to SEI handling, however datasheet talks about delaying interrupt invocations for SEI instruction only, on the other hand `newIrqPc+noDirectIrqJump' mechanism adds 1 cycle delay per _interrupt invocation_ (and I do not see any basis for that in datasheets).
2011-11-19 Petr Hluzin <petr.hluzin@gmail.com>
* Implemented `--file' option for MSVC compiler. Now it is possible to load program memory from ELF file when compiling using Visual Studio. Previously the only way was to use GDB and "load" command. Can be also used as an alternative for BFD library. However you cannot load symbols from ELF file, yet.
2011-11-19 Petr Hluzin <petr.hluzin@gmail.com>
* Fixed typo. I am an idiot. No wonder I could not Google "the BDF library".
2011-11-19 Petr Hluzin <petr.hluzin@gmail.com>
* Assignment to HWStack::m_ThreadList does not make sense, prevent SWIG from doing it. It keeps state of detection of a switch, which is difficult to do right. It might make sense to replace the list of threads in ThreadList::m_threads, though. Altered to produce better diagnostics if a compiler tries to use an assignment operator.
2011-11-19 Petr Hluzin <petr.hluzin@gmail.com>
* Better diagnostic for avr_op_ILLEGAL instruction. If it is executed then show the opcode bytes (in avr-objdump style). Also show byte-based address and word-based index.
2011-11-19 Petr Hluzin <petr.hluzin@gmail.com>
* Removed almost unused class MemoryOffsets. The class was used only on two places, well, one place; there is no prospect for having it used more in future.
2011-11-19 Petr Hluzin <petr.hluzin@gmail.com>
* Added #include <cstdio>, needed for `NULL'. Geez, compiler or something should be doing the boring stuff like this. Reported by Yann Dirson [1] and and Sebas Vila-Marta [2]. [1] https://savannah.nongnu.org/bugs/?34270 [2] https://savannah.nongnu.org/patch/?7640
2011-11-19 Petr Hluzin <petr.hluzin@gmail.com>
* Removed unused member `Sram'. The last use (in HWStackSram) was removed in previous commit. The previous commit was the last remaining part of patch #7079. https://savannah.nongnu.org/patch/index.php?7079
2011-11-19 Petr Hluzin <petr.hluzin@gmail.com>
* Use `core' field to access memory. This makes it easier to search, makes HWStackSram easier to understand and makes the way RAM is accessed unified with DecodedInstruction code. The transform is ok because mem->myOffset was always 0, no need to add any offset.
2011-11-15 Petr Hluzin <petr.hluzin@gmail.com>
* Fix: If SEI instruction enabled interrupts, we allowed them immediately. When SEI enables interrupts, datasheet guarantees the next instruction is still executed with interrupts disabled. This is useful for SEI - SLEEP sequence. ("When using the SEI instruction to enable interrupts, the instruction following SEI will be executed before any pending interrupts") Also GCC relies on that when growing stack in function prologues. (SEI instruction is shortcut for "BSET I" instruction.)
2011-11-14 Petr Hluzin <petr.hluzin@gmail.com>
* Whitespace broken by previous commit, equivalent change to locals
2011-11-13 Petr Hluzin <petr.hluzin@gmail.com>
* Improved code documentation.
2011-11-13 Petr Hluzin <petr.hluzin@gmail.com>
* Improved code documentation.
2011-11-13 Petr Hluzin <petr.hluzin@gmail.com>
* Fixed: Simulation was terminating on a EEPROM operation. If EEPROM or Flash operation was in progress (i.e. virtual Hardware::CpuCycle() returned nonzero) then: 1) "CPU-waitstate" was printed zero or more times (correct) 2) `cpuCycles' eventually became 0 (correct) 3) Hardware::CpuCycle() returned nonzero (correct) 4) "CPU-Hold by IO-Hardware " was printed (correct) 5) instruction was not executed (correct) 6) `cpuCycles' was decremented causing it to be <0 (bug) 7) AvrDevice::Step() returned -1 and simulation was terminated.
2011-11-13 Petr Hluzin <petr.hluzin@gmail.com>
* Cleanup, equivalent changes, preparation for next commit. Since `hwCycleList' is std::vector<Hardware*> and the operator[] is inline-able then this code is as fast as previous and faster to understand. A part of condition was always false.
2011-11-13 Petr Hluzin <petr.hluzin@gmail.com>
* Improved code documentation.
2011-11-13 Petr Hluzin <petr.hluzin@gmail.com>
* HWAcomp::CpuCycle() is unused, removing. Actually it *is* called but its body is the same as in predecessor Hardware:CpuCycle(). The function is not going to be extended anyway.
2011-11-13 Petr Hluzin <petr.hluzin@gmail.com>
* Whitespace made consistent with the rest of the file.
2011-10-09 Petr Hluzin <petr.hluzin@gmail.com>
* Fixed a test when adding a breakpoint. Flash->GetSize() returns bytes, no need to divide.
2011-09-25 Petr Hluzin <petr.hluzin@gmail.com>
* Added diagnostic for compiling Debug builds with Python
2011-09-25 Petr Hluzin <petr.hluzin@gmail.com>
* Fixed build error "reference cannot be declared `mutable'" on gcc-4.6 Reported by Sebastian and again by Yann Dirson. http://lists.gnu.org/archive/html/simulavr-devel/2011-05/msg00007.html https://savannah.nongnu.org/bugs/?34270#comment4
2011-09-25 Petr Hluzin <petr.hluzin@gmail.com>
* Allow building with VS2010 - stdint.h clash. VS2010 finally does ship with stdint.h. Unfortunately VS compiler finds our compatibility header for older VS. This allows switching compilers without the pain of renaming the file.
2011-09-25 Petr Hluzin <petr.hluzin@gmail.com>
* simulavr can now compile as a Python library under VS2008
2011-09-25 Petr Hluzin <petr.hluzin@gmail.com>
* Release configuration did not build under VS2008. Reported by Сергей Смирнов, I did not hit into the wall until now. http://lists.nongnu.org/archive/html/simulavr-devel/2011-05/msg00005.html
2011-09-25 Petr Hluzin <petr.hluzin@gmail.com>
* Keep GetCurrentTime macro undefined on Windows. (part 2) Addition to commit 8b70ab38b37ded5cfbab04a90587b9d3cf38ef55: #include <winsock2.h> includes winbase.h which defines some backward-compatibility macro #define GetCurrentTime() GetTickCount(). This clashes with SystemClock::GetCurrentTime() and thus prevents including mysocket.h and systemclock.h in the same file on MinGW/Visual Studio. Preparation for SWIG/Python on Windows.
2011-09-25 Petr Hluzin <petr.hluzin@gmail.com>
* Calls to malloc() redirect to _malloc_dbg(), MSVC only On MS Visual Studio call debug-enhanced version. This change does not enable reporting memory leaks (there are a lot). Does not affect operator new. http://msdn.microsoft.com/en-us/library/10t349zs.aspx
2011-09-15 Petr Hluzin <petr.hluzin@gmail.com>
* Keep GetCurrentTime macro undefined on Windows. #include <winsock2.h> includes winbase.h which defines some backward-compatibility macro #define GetCurrentTime() GetTickCount(). This clashes with SystemClock::GetCurrentTime() and thus prevents including mysocket.h and systemclock.h in the same file on MinGW/Visual Studio. Preparation for SWIG/Python on Windows.
2011-09-15 Petr Hluzin <petr.hluzin@gmail.com>
* Use for-loop when the iteration count is limited. Also more readable and shorter. No functional changes.
2011-09-15 Petr Hluzin <petr.hluzin@gmail.com>
* SWIG failed on __declspec(). (Preparation for compiling with SWIG/Python in visual Studio.) If SWIG is executed without _MSC_VER macro then it tries to use class GdbServerSocketUnix (instead of GdbServerSocketMingW), so I added -D_MSC_VER on SWIG command-line (not committed yet). However SWIG parser cannot cope with __declspec() used by MS compiler. Maybe we should use #ifdef WIN32 instead of MINGW and _MSC_VER.
2011-09-14 Petr Hluzin <petr.hluzin@gmail.com>
* Fixed bug #34287: commit f658676ad64c4e10f9dff8da808869ee26b0a2e3 breaks python simulation The commit changed behavior when cpuCycles > 0, the old code relied on `int bpFlag = 0;'.
2011-08-15 Petr Hluzin <petr.hluzin@gmail.com>
* Fixed SCK glitch in SPI in certain situations. If SCK pin was in non-alternate mode (=SPI off) with HWPort::alternatePort==0, pin enabled (DDRxy=1) and was outputting "active" (=non-idle) clock level, then executing lines SCK.SetUseAlternatePortIfDdrSet(1); // `alternatePort' is undefined here SCK.SetAlternatePort(spcr & CPOL); caused a sampling clock edge and confused a remote SPI device. (This happened with dearduinoed adafruitPCD8544-Nokia-5110-LCD library using my LcdNokia3310 class with assigned pins PB5 - SCLK, PB3 - SDIN, PB0 - DC, PB2 - SCE#, PB4 - RESET#. I must not forget to set PB5 to idle before doing SPCR = 0x58 next time.)
2011-08-14 Petr Hluzin <petr.hluzin@gmail.com>
* More missing indentation. Added documentation.
2011-08-14 Petr Hluzin <petr.hluzin@gmail.com>
* Thread switching code incorrectly considered any SP write as a switch. Well, it seems I accidentally omitted 'virtual' when porting from my private tree. So it always returned -1 and the AvrFlash::LooksLikeContextSwitch() never filtered out the setup at reset and at prologues/epilogues.
2011-08-11 Petr Hluzin <petr.hluzin@gmail.com>
* Added some documentation.
2011-08-11 Petr Hluzin <petr.hluzin@gmail.com>
* Initialization of some member vars was missing. Also shortened scope of some locals. No functional changes.
2011-08-10 Petr Hluzin <petr.hluzin@gmail.com>
* Removed incorrect comment. I was wrong - the case is reachable. The 'if' uses '%' operator and 'switch' uses '/'.
2011-08-10 Petr Hluzin <petr.hluzin@gmail.com>
* Introduced indentation; no functional changes. In `switch ((clkcnt/clkdiv)&1)' the block `case 1:' seems to be unreachable because of the condition `if (!(clkcnt%clkdiv))'. If it is really unreachable then SPI master does not work.
2011-07-24 Petr Hluzin <petr.hluzin@gmail.com>
* Fixed compile errors (gcc 4.6) Reported by Sebastian: http://lists.gnu.org/archive/html/simulavr-devel/2011-05/msg00006.html
2011-07-23 Petr Hluzin <petr.hluzin@gmail.com>
* Added reporting of AVR threads to GDB. Note: the detection added in previous patch fails on libraries which use a temporary stack while switching threads (AvrX, Dr. Tak's Real Time Kernel - DTRTK). Also GDB fails on libraries with nontrivial stack layout (FreeRTOS).
2011-07-06 Petr Hluzin <petr.hluzin@gmail.com>
* Added tracking of threads running on AVR. Added detection of stack switching code and bookkeeping of the threads. Works for BeRTOS. Does not work for AvrX, Dr. Tak's Real Time Kernel and other multi-threading libraries which use a special temporary stack. Also GDB (7.2) kinda sucks in unwinding the stack, so we pretend state as it was in last function entry (which breaks FreeRTOS).
2011-07-06 Petr Hluzin <petr.hluzin@gmail.com>
* +List of last few 'call' and 'jump' executed. (For debugging.) Keep list of several last code jump to aid in debugging simulavr itself. This is specially useful when tracing is not enabled (too verbose).
2011-06-12 Petr Hluzin <petr.hluzin@gmail.com>
* Merge branch 'master' of git.sv.gnu.org:/srv/git/simulavr
2011-06-12 Petr Hluzin <petr.hluzin@gmail.com>
* More docs; detect invalid instructions. (From my old repo.) Detect if program attempts to execute LD or ST instruction which modifies X,Y, or Z register. Instruction datasheet 0856H–AVR–07/09 says "The result of these combinations is undefined". (This is also from my old SVN repository.)
2011-06-12 Petr Hluzin <petr.hluzin@gmail.com>
* Minor improvements from my old CVS working copy. Added assertions, documentation. Better names, word "address" used consistently with GDB, better scopes of local vars. Removed unused or trivially used member variables.
2011-05-01 Thomas K <tomk@sce-gbr.de>
* Fix some bugs, which broke "make check"
2011-04-26 Petr Hluzin <petr.hluzin@gmail.com>
* Build failures on Debian. When building on "Debian GNU/Linux testing" users got compile errors due to undeclared stderr, printf and typeid. Patch provided by bug-reporter. Thanks! http://savannah.nongnu.org/bugs/?33148
2011-04-17 Petr Hluzin <petr.hluzin@gmail.com>
* Added comments and assertion. Removed endianity code. Endianity of flash is fixed, endianity of host is irrelevant.
2011-04-17 Petr Hluzin <petr.hluzin@gmail.com>
* Improved documentation (made shorter). If a documentation uses lot of words to tell little information then people will learn to avoid reading the documentation. Specifically avoid writing something what is obvious from the function's name and arguments. It is OK if doxygen docs do not make a sense without a name of its class/function (they are used together, anyway). Also "word" is a term for a CPU's natural size of data - which is 8 bits for AVRs. Also there is always exactly one AvrFlash per AvrDevice (and this is obvious), so "start of THIS memory block" is redundant. Also Flash always starts at 0, therefore offset is also the address.
2011-04-17 Petr Hluzin <petr.hluzin@gmail.com>
* Added comment about missing ESPM instruction, Removed unused member.
2011-04-17 Petr Hluzin <petr.hluzin@gmail.com>
* Unified line endings, I think. TortoiseGit says 24 lines were changed and TortoiseMerge indicates no leading whitespace was changed. So it must be newlines.
2011-04-17 Petr Hluzin <petr.hluzin@gmail.com>
* Incorrect jump if destination is >= 128 KiB. First 16b of JMP instruction encode 6 higher bits of destination address. A local var name made consistent with avr_op_CALL.
2011-04-17 Petr Hluzin <petr.hluzin@gmail.com>
* Added documentation, removed unused members, assertions. Conditions that are always true (and where false indicates problem) turned to assertions. Some variables are constant for all MCU types. Some ugly allocations turned to prettier C++ ones.
2011-04-17 Petr Hluzin <petr.hluzin@gmail.com>
* Added --gdb-debug option as a long alias for -G
2011-04-17 Petr Hluzin <petr.hluzin@gmail.com>
* Documentation, removal unused code. Better names for #include guards. Consistent formatting (done only on few places). Members allPins, GetPin() .... are not called. Remove? (Called from TCL/Python?)
2011-04-17 Petr Hluzin <petr.hluzin@gmail.com>
* Removing widespread case of nasty multiple inheritance with member variable. Member "trace_on" is only used on AvrDevice class.
2011-03-20 Petr Hluzin <petr.hluzin@gmail.com>
* Ignore Visual Studio's index files. They are 17 and 32 MB jumbos.
2011-03-16 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Failed to build on VS2008.
2011-03-06 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Suppressed printing "Going to gdb..." by default. Similar messages are printed only when 'global_verbose_on' is on. Also more informative and less jargon message "Waiting for connection from GDB on port XXX" is already printed later.
2011-03-06 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Reordered members of classes - makes instances smaller and consistent with other classes.
2011-03-06 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Added assertions. If there is a bug in caller (or any code for that matter): Fail early, fail loudly.
2011-02-27 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* More understandable --help output. Users do not know or care what `gdb-server' is. We made up the word.
2011-02-27 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Fixed array index out of bounds crashes. avr_op_BRBC::Trace() and avr_op_BRBS::Trace() crash used this->bitmask in range 1..128 to index array with 8 entries. Bug #32592 reported and patch proposed by Patricio. Thanks Patricio! (I added detection of bogus bitmasks.)
2011-02-27 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Fixed more build failures on Cygwin. I accidentally left the Windows version of Socket::Poll() visible to Cygwin compiler.
2011-02-27 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Fixed build failures on Cygwin. Ancient GCC 3.4.4 selected bad constructor for std::vector<const Hardware*> debugInterruptTable: std::vector(InputIterator _First, InputIterator _Last); instead of std::vector(size_type _Count, const Type& _Val);
2011-02-27 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Added some assertions.
2011-02-27 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Merged similar parts of MinGW and Posix code. Makes it easier for code-navigation tools.
2011-02-27 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Class Socket did inherit from `sockstream' class even though the code never used it. I need to cleanup network code to implement for asynchronous sockets.
2011-02-27 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Do not burn 100% CPU when waiting for GDB commands. I think value-trace displays and "UIs" will not be able to communicate while simulavr is waiting for GDB. On the other side the code indicates that these clients cannot be used together with GDB anyway. Also GDB is still burning 100% waiting until GDB makes TCP connection. (This was the case even with original ioctlsocket(_socket, ...) code.)
2011-02-27 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Merge branch 'master' of git.sv.gnu.org:/srv/git/simulavr
2011-02-27 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Added GPIORx registers to atmega1284abase.h and atmega1284abase.h -based devices.
2011-02-27 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Added GPIORx registers to atmega1284abase.h and atmega1284abase.h -based devices.
2011-02-27 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Marking more registers as not-simulated.
2011-02-27 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Better diagnostic if user reads/writes a register we currently do not simulate. Accessing a register reserved by Atmel is a bug in user program. Accessing a register which simulavr currently does not simulate is a bummer, but not bug in user's program. Distinguish these two. Also USART1 registers were unreachable for ATmega164A/164PA/324A/324PA/644A/644PA/1284/1284P.
2011-02-27 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Some USART registers for ATmega48/88/168/328 were on wrong addresses. Corrected the addresses according to datasheet 8271 revision C. Added diagnostic for any user code relying on the wrong addresses in simulavr.
2011-02-27 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Added a dummy register type which writes diagnostic when accessed. This is needed to distinguish accesses to registers not present on silicon (InvalidMem) and present on silicon but not-yet-simulated registers.
2011-02-27 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Support for Added support for ATmega164A/164PA/324A/324PA/644A/644PA/1284/1284P was not being compiled.
2011-02-27 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Added support for ATmega164A/164PA/324A/324PA/644A/644PA/1284/1284P. As usually, functionality has been verified using datasheets, not by existing real code.
2011-02-27 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Removed extra whitespace and obvious comments.
2011-02-27 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Added copies of atmega668base.{c,h} files. This will make tracking of future differences easier.
2011-02-27 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Weird classes marked as unused. Their purpose is either unclear (to me). At least class PinChange has been obsoleted by ExternalIRQPort class. Should we remove these 2 files. (Their constructors can be made private, yet the code compiles. No friend declarations. No references from other files.)
2011-02-27 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Better code documentation. Better variable names.
2011-02-27 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Better developer diagnostic if device constructor creates multiple instances of e.g. HWUsart and forgets to specify a different ID.
2011-02-27 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Better debugging: detect if a device constructor uses the same interrupt index for multiple peripherals. Added code for dumping interrupt table in format suitable for verifying against Atmel datasheets.
2011-02-20 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* ATmega8 capability was not compiled. It is hard to impress users with the set of supported MCUs if we do not actually compile them in, isn't it? (I verified Cygwin build and for some reason it now list ATmega8 and some much more devices. Dunno why.) MSVC build did not have the problem.
2011-02-20 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Fix initialization order of static variables across compilation units. Constructor of static AVRFactoryEntryMaker_at90s4433 called AvrFactory::reg() when 'devmap' was not initialized yet. This caused assertions/crash with MSVC. Now it works nice with MSVC and Cygwin.
2011-02-20 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* My failed attempts to fix order of static initialization under MSVC compiler. Note: Order of initialization of static variables in different CPP files is not defined by C++ standard. It works with GCC by pure luck (or clever representation of uninitialized std::map). This will document for future generations my vain attempts to put the initialization into PE section in array before initializers in .crt$xcu. The ultimate fix goes in the next commit.
2011-02-20 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* SWIG did does not like GCC attributes.
2011-02-19 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Add compiler attributes for better diagnostics. Silences warning C4715 'not all control paths return a value' in prescalermux.cpp.
2011-02-19 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* +documentation
2011-02-19 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Append newlines for messages/warnings/errors. C++ library did buffer them indefinitely (bad) and then print bunch of messages on single line (also bad).
2011-02-19 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Adding support for compiling under MS Visual Studio 2008. See discussion [1] and this proposed patch/implementation [2]. Compiles and links under VS2008. When launching it asserts during static initialization in AvrFactory::reg() under Windows. Compiles fine under Cygwin, as always.
2011-02-19 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* GDB 'disassemble' command displayed garbage. Recently reported by David Madden on mailing-list.
2011-02-19 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* the remaining part of patch #7029: better diagnostics if user does not supply '--device' option
2011-02-19 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* better comment, from patch #7063
2011-02-19 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* signedness warning, unused variables
2011-02-19 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* typo, whitespace changes, removed comment. (Vectors have to be appropriately sized for [] operation. But it is not a bug - they do not supposed to grow on assignment via [].)
2011-02-19 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Committing the remaining part of patch #7035
2011-02-19 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Removed #include <unistd.h> - the code does not use any of those functions listed at: http://pubs.opengroup.org/onlinepubs/007908799/xsh/unistd.h.html (Also Visual Studio does not ship the header.)
2011-02-19 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Fixed uninitialized variable for SP. Removed (an other) unused variable.
2011-02-19 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* StringToUnsignedChar() incorrectly reported success when paring large numbers. Value 'LONG_MAX' on does not fit into 'unsigned char'. Correct testing for overflow by C specs is difficult, I doubt I fixed it all.
2011-02-19 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Avoid non-constant length of an array. (This also adds bounds checking.)
2011-02-19 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Added missing #include. Also moved 'using namespace' detect headers depending on it (they should not).
2011-02-19 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Uninitialized variables
2011-02-19 Petr Hluzin <adgrer@sdfgsdfgh.invalid>
* Variadic macros converted to C99 style
2010-12-19 Petr Hluzin <invalid@invalid>
* Merge branch 'master' of git://git.savannah.nongnu.org/simulavr
2010-11-21 John McCullough <>
* AT90CAN support by John McCullough
2010-10-24 Petr Hluzin <invalid@invalid>
* documentation: some clarifications and phrasing
2010-10-24 Petr Hluzin <invalid@invalid>
* Fixed interrupt vectors for ATmega32.
2010-10-18 Petr Hluzin <invalid@invalid>
* Compilation errors introduced by my clumsy edits. Reported by Ivca Safranko.
2010-10-17 Petr Hluzn <invalid@invalid>
* +documentation
2010-10-17 Petr Hluzn <invalid@invalid>
* ATmega8 fixes: * interrupt table uses RJMP which is 2 bytes * there are 128 pages ("Table 89: No. of Words in a Page and no. of Pages in the Flash") * unnecessary cast
2010-10-17 Petr Hluzn <invalid@invalid>
* Add ATmega8 support. Written by Ivca Safranko. Many thanks. (Whitespace changes by me.)
2010-10-17 Petr Hluzn <invalid@invalid>
* minor: reworked overused 'stack11bit' parameter into child constructors. No functional changes.
2010-10-17 Petr Hluzn <invalid@invalid>
* ATmega32's "EEPROM Ready" interrupt is 17, not 15. Checked against ATmega32 datasheet revision P. (Note datasheet lists reset vector as 1, not 0 as we do.)
2010-09-05 unknown <hluzin@.dataapex.local>
* fix reading a freed memory
2010-07-19 Thomas K <tomk@sce-gbr.de>
* Remove unneccessary method wrapper from python SWIG file.
2010-07-19 Thomas K <tomk@sce-gbr.de>
* Apply patch: Extended python interface: SetAnalog
2010-06-19 Thomas K <tomk@sce-gbr.de>
* Bugfix for make install, bug reported by Sebastian on june 14th 2010
2010-06-15 Thomas K <tomk@sce-gbr.de>
* Ignore file .settings for VC (for eclipse)
2010-06-15 Thomas K <tomk@sce-gbr.de>
* Bugfix: wrong output for registers in decoder trace
2010-06-02 Thomas K <tomk@sce-gbr.de>
* Hide eclipse project files from VCS
2010-04-19 Thomas K <tomk@sce-gbr.de>
* Improve web site content and sphinx documentation
2010-04-19 Thomas K <tomk@sce-gbr.de>
* Add multicore example to examples/python
2010-04-13 Thomas K <tomk@sce-gbr.de>
* Bugfix: add missed config files for sphinx docs
2010-03-30 Thomas K <tomk@sce-gbr.de>
* Integrate sources for creating simulavr web site
2010-03-24 Thomas K <tomk@sce-gbr.de>
* Remove deprecation notice for TCL interface in sphinx documentation
2010-03-24 Thomas K <tomk@sce-gbr.de>
* Update branches.txt
2010-03-24 Thomas K <tomk@sce-gbr.de>
* Remove cvs-git-update.sh script
2010-03-24 Thomas K <tomk@sce-gbr.de>
* README for documentation and update reST files to reflect change to simulavr
2010-03-24 Thomas K <tomk@sce-gbr.de>
* Set version to 1.0rc0
2010-03-24 Thomas K <tomk@sce-gbr.de>
* Revert "Change name of application from simulavr to avrs"
2010-03-24 Thomas K <tomk@sce-gbr.de>
* Revert "Change examples to play with renamed program name / python interface"
2010-03-19 Thomas K <tomkl@users.sourceforge.net>
* First version of new documentation with Sphinx, content is taken from texinfo documentation
2010-03-19 Thomas K <tomkl@users.sourceforge.net>
* Bugfix II: make check on windows/msys platform
2010-03-18 Thomas K <tomkl@users.sourceforge.net>
* Bugfix: fix 2 showstopper on "make check" on windows/msys platform
2010-03-16 Thomas K <tomkl@users.sourceforge.net>
* Change examples to play with renamed program name / python interface
2010-03-16 Thomas K <tomkl@users.sourceforge.net>
* make: reorder header files
2010-03-16 Thomas K <tomkl@users.sourceforge.net>
* Bugfix enable-tcl.m4: this macro is wrong, but will not be fixed because TCL interface deprecated
2010-03-16 Thomas K <tomk@sce-gbr.de>
* Change name of application from simulavr to avrs
2010-03-08 Thomas K <tomk@sce-gbr.de>
* Changes accordingly patch 7084 (Petr Hluzin): Diagnostic when running without a program
2010-03-08 Thomas K <tomk@sce-gbr.de>
* CHanges accordingly patch 7083 (Petr Hluzin): write out current PC on illegal IO access and on illegal instructions
2010-03-07 Thomas K <tomk@sce-gbr.de>
* Changes accordingly patch 7079 (Petr Hluzin): finish changes in decoder
2010-03-06 Thomas K <tomk@sce-gbr.de>
* CHanges accordingly patch 7079 (Petr Hluzin): change instructions till P
2010-03-04 Thomas K <tomk@sce-gbr.de>
* Changes accordingly patch 7079 (Petr Hluzin): change instructions till J
2010-03-03 Thomas K <tomk@sce-gbr.de>
* Changes accordingly patch 7079 (Petr Hluzin): introduce EIND register for devices, which use this
2010-03-03 Thomas K <tomk@sce-gbr.de>
* Changes accordingly patch 7079 (Petr Hluzin): change instructions till from A to C
2010-03-03 Thomas K <tomk@sce-gbr.de>
* Fix compiler warning in main.cpp: wrong formatting in format string
2010-03-03 Thomas K <tomk@sce-gbr.de>
* Changes accordingly patch 7079 (Petr Hluzin): new methods to get access to registers and IO space
2010-03-01 Thomas K <tomk@sce-gbr.de>
* Add HWStack definitions to python interface
2010-03-01 Onno Kortmann <onno@gmx.net>
* Another TODO item.
2010-03-01 Onno Kortmann <onno@gmx.net>
* Fixes for tracing of SPL/SPH and trace the three level stack pointer
2010-02-26 Thomas K <tomk@sce-gbr.de>
* Merge branch 'master' of upload repo with new changes from my repo
2010-02-26 Thomas K <tomk@sce-gbr.de>
* Rewrite HWStack, part III: Reimplementation of ThreeLevelStack
2010-02-26 Thomas K <tomk@sce-gbr.de>
* Rewrite HWStack, part II: give core access to stack for bytes and addresses
2010-02-25 Onno Kortmann <onno@gmx.net>
* Fix program counter so that it stays on the 'right PC' for long commands
2010-02-25 Onno Kortmann <onno@gmx.net>
* CORE.PCb trace variable giving twice the PC for easier debugging
2010-02-25 Onno Kortmann <onno@gmx.net>
* Make traceval_direct return registered TraceValues
2010-02-25 Onno Kortmann <onno@gmx.net>
* Fix in avr.v to support Icarus Verilog 0.9.x
2010-02-25 Onno Kortmann <onno@gmx.net>
* PCs in sync in verilog and in AVR core.
2010-02-25 Onno Kortmann <onno@gmx.net>
* Set time in AVR library code
2010-02-25 Onno Kortmann <onno@gmx.net>
* AVR VPI interface: start, stop and set-time implementation
2010-02-25 Onno Kortmann <onno@gmx.net>
* Implement SetCurrentTime() to allow driving AVRs from outside software
2010-02-25 Onno Kortmann <onno@gmx.net>
* Export of SetDumpTraceArgs as $avr_dumparg() to Verilog
2010-02-25 Onno Kortmann <onno@gmx.net>
* VPI minor fix for avr_trace
2010-02-25 Onno Kortmann <onno@gmx.net>
* TODO items and minor documentation fixes
2010-02-25 Onno Kortmann <onno@gmx.net>
* Change documented semantics of TraceValue::cycle() call
2010-02-25 Onno Kortmann <onno@gmx.net>
* In traceval.*, make all error messages unique
2010-02-25 Onno Kortmann <onno@gmx.net>
* Hex output for invalid memory accesses
2010-02-25 Onno Kortmann <onno@gmx.net>
* Verilog header location fix for (K)ubuntu 9.10
2010-02-24 Thomas K <tomk@sce-gbr.de>
* Rewrite HWStack, part I, inspired from patch 7079 (Petr Hluzin)
2010-02-23 Thomas K <tomk@sce-gbr.de>
* Change accordingly patch 7064 (Petr Hluzin): diagnostics if wrong gdb connects
2010-02-23 Thomas K <tomk@sce-gbr.de>
* Changes accordingly patch 7063 (Petr Hluzin): local variables' fixes
2010-02-22 Onno Kortmann <onno@gmx.net>
* Include fix for traceval.h to enable compiling on (K)ubuntu 9.10.
2010-02-17 Onno Kortmann <onno@gmx.net>
* Check for /usr/bin/time in configure
2010-02-17 Onno Kortmann <onno@gmx.net>
* Changes according to patch 7063 (Petr Hluzin): single device clock and unitialized variable fixes
2010-02-17 Onno Kortmann <onno@gmx.net>
* Display freq in MHz and Hz to make all people happy
2010-02-17 Onno Kortmann <onno@gmx.net>
* Changes according to patch 7034 (Petr Hluzin): display frequency in fool-proof way
2010-02-17 Onno Kortmann <onno@gmx.net>
* Fix for the dependencies to remake avr.vpi properly
2010-02-16 Onno Kortmann <onno@gmx.net>
* Fix of template files for AVR factory for newer version of python-cheetah
2010-02-16 Onno Kortmann <onno@gmx.net>
* Remove casting of pointers before equality check
2010-01-15 Thomas K <tomk@sce-gbr.de>
* automake: Change m4-macros to give the possibility to build python interface with Python3
2010-01-09 Thomas K <tomk@sce-gbr.de>
* Changes accordingly patch 7036 and 7037 (Petr Hluzin): allow bigger packet sizes than 400 chars
2010-01-07 Thomas K <tomk@sce-gbr.de>
* Changes accordingly patch 7035 (Petr Hluzin): dependence on host byte order (endianity)
2010-01-06 Thomas K <tomk@sce-gbr.de>
* Change accordingly patch 7033 (Petr Hluzin): sizeof value for accept call
2010-01-06 Thomas K <tomk@sce-gbr.de>
* Changes accordingly patch 7032 (Petr Hluzin): uninitialized vars in HWUart
2010-01-05 Thomas K <tomk@sce-gbr.de>
* Changes accordingly patch 7031 (Petr Hluzin): fix minor memory leaks
2010-01-05 Thomas K <tomk@sce-gbr.de>
* Change accordingly patch 7029 (Petr Hluzin): accept canonical µC names
2009-12-14 Thomas K <tomk@sce-gbr.de>
* Update texinfo documentation following on changes in examples
2009-12-13 Thomas K <tomk@sce-gbr.de>
* automake: add test for Itcl and change Makefile.am in examples to respect this
2009-12-13 Thomas K <tomk@sce-gbr.de>
* Bugfix: fix changed classes for simulavr.tcl to get tcl examples working again
2009-12-11 Thomas K <tomk@sce-gbr.de>
* Bugfix zum Change: Free all allocated space from AvrDevice in destructor
2009-12-11 Thomas K <tomk@sce-gbr.de>
* Add a method to AvrDevice to get a memory cell instance (RWMemoryMember)
2009-12-11 Thomas K <tomk@sce-gbr.de>
* Free all allocated space from AvrDevice in destructor
2009-12-11 Thomas K <tomk@sce-gbr.de>
* Remove old sources for external irq, remove unused HWMcucr class
2009-12-11 Thomas K <tomk@sce-gbr.de>
* Implement rewrite of external interrupts also for AT90S8515 and AT90S4433
2009-12-10 Thomas K <tomk@sce-gbr.de>
* Bugfix: make dist wasn't working and some files are missed in dist package
2009-12-09 Thomas K <tomk@sce-gbr.de>
* Change external interrupt implementation on ATmegaX8 and ATmega128 to new implementation
2009-12-09 Thomas K <tomk@sce-gbr.de>
* Bugfix external interrupts: class destructor and a bug in ExternalIRQPort
2009-12-09 Thomas K <tomk@sce-gbr.de>
* Add more tests for external interrupts
2009-12-09 Thomas K <tomk@sce-gbr.de>
* Bugfix: makefile template in regress/extinttest missed definitions from Makefile
2009-12-09 Thomas K <tomk@sce-gbr.de>
* Add Makefile in regress/extinttest to autoconf configuration
2009-12-09 Thomas K <tomk@sce-gbr.de>
* Rename python modul timer_testall to regress_unittest
2009-12-09 Thomas K <tomk@sce-gbr.de>
* Add regression test for external interrupt INT0 and INT1
2009-12-08 Thomas K <tomk@sce-gbr.de>
* Bugfix ATtiny2313: wrong stack ceil
2009-12-08 Thomas K <tomk@sce-gbr.de>
* Bugfix ATmega16/32: GICR/GIFR with wrong addresses
2009-12-08 Thomas K <tomk@sce-gbr.de>
* Bugfix ATmega48/88 ...: wrong pins for INT0/1
2009-12-08 Thomas K <tomk@sce-gbr.de>
* Extend IRQ system to support level interrupts
2009-12-08 Thomas K <tomk@sce-gbr.de>
* HWTimer: reset interrupt flag on writing 1 to flag register
2009-12-08 Thomas K <tomk@sce-gbr.de>
* ATtiny2313: add reset function for GPIO registers
2009-12-07 Thomas K <tomk@sce-gbr.de>
* Rewrite external IRQ functionality: fill methods with functionality
2009-12-05 Thomas K <tomk@sce-gbr.de>
* Bugfix: HWPort::CalcOutputs was wrong
2009-12-04 Thomas K <tomk@sce-gbr.de>
* Add empty framework for rewrite of external interrupt handling
2009-12-04 Thomas K <tomk@sce-gbr.de>
* HWPort: new features PIN toggle PORT and variable port size
2009-12-03 Thomas K <tomk@sce-gbr.de>
* Bugfix: remove access to removed global variable and correct a python example
2009-12-03 Thomas K <tomk@sce-gbr.de>
* Cleanup code in pin.cpp/h and net.cpp/h
2009-12-02 Thomas K <tomk@sce-gbr.de>
* Rewrite of classes Pin and Net, MirrorNet is now obsolet
2009-12-02 Thomas K <tomk@sce-gbr.de>
* automake: provide setup.py for install python module by using python's own install functionality
2009-11-23 Thomas K <tomk@sce-gbr.de>
* automake: bugfix for install python module on Windows/MinGW
2009-11-22 Thomas K <tomk@sce-gbr.de>
* automake: complete install target for make to get a full installation
2009-11-16 Thomas K <tomk@sce-gbr.de>
* Bugfix HWEeprom: wrong time calculation on write eeprom
2009-11-11 Thomas K <tomk@sce-gbr.de>
* Merge branch 'extra-dev' of /media/exchange/simulavr into extra-dev
2009-11-11 Thomas K <tomk@sce-gbr.de>
* Add methods RunTimeRange and ResetClock to SystemClock class
2009-11-06 Thomas K <tomk@sce-gbr.de>
* Update tcl interface because of removing trace.cpp
2009-11-06 Thomas K <tomk@sce-gbr.de>
* Remove dependencies to trace.h and delete trace.cpp/trace.h
2009-11-06 Thomas K <tomk@sce-gbr.de>
* Switch trace usage to sysConHandler, trace.cpp isn't used now
2009-11-06 Thomas K <tomk@sce-gbr.de>
* Implement functionality for trace support in SystemConsoleHandler class
2009-11-06 Thomas K <tomk@sce-gbr.de>
* Remove unused code from trace.cpp, this removes also option -M from main.cpp
2009-11-04 Thomas K <tomk@sce-gbr.de>
* AvrDevice: save IRam and ERam size and implement 2 access methods to get this values back
2009-11-04 Thomas K <tomk@sce-gbr.de>
* HWEeprom: initialize eeprom memory to 0xff (as in a "fresh" device)
2009-11-02 Thomas K <tomk@sce-gbr.de>
* Implement ATtiny2313
2009-11-02 Thomas K <tomk@sce-gbr.de>
* Implement ATmega32, correct RAM size ATmega16
2009-10-30 Thomas K <tomk@sce-gbr.de>
* Combine sources for ATmega16 and ATmega32, because ATmega32 is only a "bigger" ATmega16
2009-10-27 Thomas K <tomk@sce-gbr.de>
* FlashProgramming: implement work mode and control of AvrFlash RWW lock
2009-10-27 Thomas K <tomk@sce-gbr.de>
* Implement RWW lock in AvrFlash
2009-10-26 Thomas K <tomk@sce-gbr.de>
* Implement functionality for flash programming
2009-10-25 Thomas K <tomk@sce-gbr.de>
* connect SPM operation to spmRegister field in AvrDevice to provide flash self programming
2009-10-25 Thomas K <tomk@sce-gbr.de>
* AvrDevice: remove methods GetRampz and SetRampz
2009-10-25 Thomas K <tomk@sce-gbr.de>
* AvrDevice: placeholder for RampZ register (to support all devices)
2009-10-23 Thomas K <tomk@sce-gbr.de>
* Add files for FlashProgramming class to make to support device self programming
2009-10-23 Thomas K <tomk@sce-gbr.de>
* AVRFlash: on WriteMem decode only new written range, not the full memory space
2009-10-22 Thomas K <tomk@sce-gbr.de>
* Add new added devices to python interface (to make it available, if implemented)
2009-10-21 Thomas K <tomk@sce-gbr.de>
* Fill empty frame for ATMega16 device
2009-10-21 Thomas K <tomk@sce-gbr.de>
* Add combined register UCSRC/UBRRH functionality for USART
2009-10-19 Thomas K <tomk@sce-gbr.de>
* Initialize make framework for devices ATMega16, ATMega32, ATTiny2313
2009-10-19 Thomas K <tomk@sce-gbr.de>
* Make it possible to get access to Memory::WriteMem with python interface for flash and eeprom
2009-10-15 Thomas K <tomk@sce-gbr.de>
* timertests: add tests for timer input capture functionality
2009-10-14 Thomas K <tomk@sce-gbr.de>
* regression tests: add tests for using external clock input
2009-10-05 Thomas K <tomk@sce-gbr.de>
* Python interface: SimulationMember class and Hardware class are able to overlay (virtual) methods in python
2009-09-23 Thomas K <tomk@sce-gbr.de>
* Bugfix: result of bfd_check_format was not used, wrong files end in a segfault
2009-09-21 Thomas K <tomk@sce-gbr.de>
* Bugfix UART/USART: stopbit 2 has raised framing error, even if signal was ok
2009-09-21 Thomas K <tomk@sce-gbr.de>
* python interface: make sreg accessible from python interface
2009-09-19 Thomas K <tomk@sce-gbr.de>
* Bugfix: include stdlib.h in keyboard.cpp was missed
2009-09-18 Thomas K <tomk@sce-gbr.de>
* Eliminate usage of exit call (except main.cpp), use functions in avrerror instead
2009-09-18 Thomas K <tomk@sce-gbr.de>
* python interface: give possibility to overlay RWMemoryMember get and set method
2009-09-17 Thomas K <tomk@sce-gbr.de>
* Bugfix Makefile.am in examples/python: wrong nodist_DATA entries
2009-09-17 Thomas K <tomk@sce-gbr.de>
* Rewrite avrerror.cpp: adapt to c++ and add some new features
2009-09-16 Thomas K <tomk@sce-gbr.de>
* Bugfix DumpManager::seekValueByName, it has to be respect, if it is a single device application or not
2009-09-16 Thomas K <tomk@sce-gbr.de>
* Add some mor examples for python interface
2009-09-15 Thomas K <tomk@sce-gbr.de>
* python interface: class Pin will be a director class, so SetInState method can be overlayed in python
2009-09-14 Thomas K <tomk@sce-gbr.de>
* Some improvements connected with python interface
2009-09-10 Thomas K <tomk@sce-gbr.de>
* Timer tests: make test CTC and FastPWM functional
2009-09-09 Thomas K <tomk@sce-gbr.de>
* Update documentation and help on commandline, change version string to 0.9git
2009-09-01 Thomas K <tomk@sce-gbr.de>
* Release unused io registers from timerunits in registry
2009-09-01 Thomas K <tomk@sce-gbr.de>
* Bugfix: TraceValueCoreRegister hasn't found extra mapped values (register and ram)
2009-08-31 Thomas K <tomk@sce-gbr.de>
* Bugfix ATMega128: wrong routing of TOV3 interrupt
2009-08-31 Thomas K <tomk@sce-gbr.de>
* Split dump trace arguments functionality from main.cpp
2009-08-30 Thomas K <tomk@sce-gbr.de>
* work on timertests
2009-08-30 Thomas K <tomk@sce-gbr.de>
* Bugfix: timer interupt registers on ATMega48/88/168/328 for time1 and 2 are not connected to memmap
2009-08-27 Thomas K <tomk@sce-gbr.de>
* Build python module also on MingW/windows, if configured
2009-08-25 Thomas K <tomk@sce-gbr.de>
* Remove DumpManager.regTrace method
2009-08-25 Thomas K <tomk@sce-gbr.de>
* Extend TraceValue registry for memory sets (complete functionality)
2009-08-24 Thomas K <tomk@sce-gbr.de>
* Extend TraceValue registry for memory sets (special group for AvrDevice)
2009-08-23 Thomas K <tomk@sce-gbr.de>
* Complete TraceValue registry function
2009-08-21 Thomas K <tomk@sce-gbr.de>
* DumpManager: remove all_map and use registry by TraceValueRegister class, regTrace method is empty
2009-08-20 Thomas K <tomk@sce-gbr.de>
* Connect TraceValue registry to DumpManager (step 1 to remove _all and all_map in DumpManager)
2009-08-19 Thomas K <tomk@sce-gbr.de>
* Complete registry functionality in TraceValueRegister class
2009-08-19 Thomas K <tomk@sce-gbr.de>
* timertest: change script to generate makefile to make changes on config effective
2009-08-19 Thomas K <tomk@sce-gbr.de>
* Bugfix: because DumpManager isn't destroyed together with device, it dosn't inform Dumper to stop
2009-08-18 Thomas K <tomk@sce-gbr.de>
* Rewrite timer test for normal mode on timer 0 for all devices
2009-08-17 Thomas K <tomk@sce-gbr.de>
* Remove set_trace_group_s, because this dosn't work with multi device apps
2009-08-17 Thomas K <tomk@sce-gbr.de>
* Make DumpManager as single instance class (one central instance)
2009-08-17 Thomas K <tomk@sce-gbr.de>
* Bugfix in AvrFactory::instance, give back instance in every case
2009-08-15 Thomas K <tomk@sce-gbr.de>
* Extend regress/avrtest to test all different device types with runtime/abort/exit
2009-08-15 Thomas K <tomk@sce-gbr.de>
* Bugfix: There was a double-free error on HWEeprom destructor, has crashed ATMegax8 devices
2009-08-15 Thomas K <tomk@sce-gbr.de>
* Bugfix: last commit was incomplete, fix the not taken changes
2009-08-15 Thomas K <tomk@sce-gbr.de>
* Make Makefile.am from Makefile in examples/verilog
2009-08-15 Thomas K <tomk@sce-gbr.de>
* Bugfix gdbserver.cpp: fix 2 code bugs, which let gdbserver.cpp not compile
2009-08-14 Thomas K <tomk@sce-gbr.de>
* mysocket.cpp: extended to support also MingW build system on windows
2009-08-14 Thomas K <tomk@sce-gbr.de>
* gdbserver: encapsulate socket usage to use it also on MingW
2009-08-14 Thomas K <tomk@sce-gbr.de>
* In ui.cpp: include of time.h was necessary (on compiling with MingW)
2009-08-13 Thomas K <tomk@sce-gbr.de>
* Bugfix: timertest - vcdtestutils.py was wrong
2009-08-13 Thomas K <tomk@sce-gbr.de>
* avrdevice.cpp: changes on code indentation to avoid mistakes
2009-08-13 Thomas K <tomk@sce-gbr.de>
* Move creation of RWSreg to AVRDevice and reflect the changes on status
2009-08-13 Thomas K <tomk@sce-gbr.de>
* timertests: make first test functional (8bit timer on normal mode)
2009-08-13 Thomas K <tomk@sce-gbr.de>
* Remove usage of CHECK_ZLIB-macro for configure.ac
2009-08-13 Thomas K <tomk@sce-gbr.de>
* fix whitespaces in create_makefile.py to avoid unneccessary change status in git
2009-08-13 Thomas K <tomk@sce-gbr.de>
* timertests: fix dependencies and don't run if no AVR gcc found
2009-08-12 Thomas K <tomk@sce-gbr.de>
* Bugfix: fix a typo in avrtest makefile
2009-08-12 Thomas K <tomk@sce-gbr.de>
* Insert infrastructure for regression tests for simulavr timer implementation
2009-08-12 Thomas K <tomk@sce-gbr.de>
* Improvements on configure.ac
2009-08-12 Thomas K <tomk@sce-gbr.de>
* Bugfix regress/avrtest/Makefile.am: if no avr-gcc found, don't try compile test programs
2009-08-12 Thomas K <tomk@sce-gbr.de>
* Bugfix configure.ac: backslashes in AC_CONFIG_FILES are not necessary.
2009-08-08 Thomas K <tomk@sce-gbr.de>
* Step V of rewriting Timer classes: remove old timer sources
2009-08-08 Thomas K <tomk@sce-gbr.de>
* Commandline option to switch on irq statistic
2009-08-08 Thomas K <tomk@sce-gbr.de>
* Step IV of rewriting Timer classes: insert input capture functionality
2009-08-01 Thomas K <tomk@sce-gbr.de>
* Remove a few warnings on processing files by SWIG
2009-08-01 Thomas K <tomk@sce-gbr.de>
* Step III of rewriting Timer classes: all devices use now new timer classes
2009-08-01 Thomas K <tomk@sce-gbr.de>
* TimerIRQRegister: extend usage of regidx in constructor
2009-07-30 Thomas K <tomk@sce-gbr.de>
* Step II of rewriting Timer classes: now all modes implemented
2009-07-26 Thomas K <tomk@sce-gbr.de>
* Step I of rewriting Timer classes: normal, CTC and fast PWM mode implemented
2009-07-25 Thomas K <tomk@sce-gbr.de>
* Introduce TraceValueRegister class to get a possibility to build a name hierarchy for TraceValue names
2009-07-21 Thomas K <tomk@sce-gbr.de>
* Adapt example in examples/python: set the right timing.
2009-07-21 Thomas K <tomk@sce-gbr.de>
* Adds dump trace capability for irq handler state
2009-07-21 Thomas K <tomk@sce-gbr.de>
* Rewrite start of timer classes: first basic class for 8Bit timer/counter
2009-07-20 Thomas K <tomk@sce-gbr.de>
* Initial rewrite of timerirq classes
2009-07-20 Thomas K <tomk@sce-gbr.de>
* Add unique prescaler multiplexer classes
2009-07-19 Thomas K <tomk@sce-gbr.de>
* Implementation of HWPrescalerAsync: like HWPrescaler, but extended with external timer clock
2009-07-19 Thomas K <tomk@sce-gbr.de>
* Bugfix: DumpVCD wrotes incomplete files
2009-07-19 Thomas K <tomk@sce-gbr.de>
* Extend HWTimerPrescaler class
2009-07-17 Thomas K <tomk@sce-gbr.de>
* Structure change III: move all timer stuff to hwtimer subdirectory
2009-07-16 Thomas K <tomk@sce-gbr.de>
* Structure change II: move UI components tu subdirectory ui
2009-07-16 Thomas K <tomk@sce-gbr.de>
* Structure change I: move main.cpp and gdbserver.cpp to cmd
2009-07-16 Thomas K <tomk@sce-gbr.de>
* Take care of deps on python and crocc compilation in examples/python/Makefile.am
2009-07-16 Thomas K <tomk@sce-gbr.de>
* Follower-commit to "Add initial support for atmega88 and atmega168"
2009-07-16 joelsherrill <joelsherrill>
* Add initial support for atmega88 and atmega168 (merge only commit - do not use alone!)
2009-07-16 Thomas K <tomk@sce-gbr.de>
* Bugfix Memory::GetAddressAtSymbol
2009-07-14 Thomas K <tomk@sce-gbr.de>
* Bugfix: delete a forgotten merge conflict marker from former cherrypick-merge
2009-07-14 Thomas K <tomk@sce-gbr.de>
* Add a example, how to use python module for simulavr
2009-07-14 Thomas K <tomk@sce-gbr.de>
* Rewrite of pysimulavr.i to get it working
2009-07-14 Thomas K <tomk@sce-gbr.de>
* Move pysimulavr.i to src/python
2009-07-14 Thomas K <tomk@sce-gbr.de>
* Implement --enable-python and --enable-verilog in configure
2009-07-14 Thomas K <tomk@sce-gbr.de>
* Rewrites a former patch for using libbfd.so instead of libbfd.a, if found
2009-07-14 Thomas K <tomk@sce-gbr.de>
* Add tests on regress/avrtest to tests, which run on "make check"
2009-07-14 Thomas K <tomk@sce-gbr.de>
* fix broken tests in regress/test_opcodes
2009-07-14 Thomas K <tomk@sce-gbr.de>
* Make building API doc with doxygen depending on configure switch and existence of doxygen
2009-07-14 Thomas K <tomk@sce-gbr.de>
* update/add .gitignore to ignore files created by bootstrap/configure/make
2009-07-13 Onno Kortmann <onno@gmx.net>
* Bug fix for identically named timers trace names
2009-07-12 Onno Kortmann <onno@gmx.net>
* Tracing infrastructure and rework of the I/O register system
2009-07-12 Onno Kortmann <onno@gmx.net>
* Remove 'using namespace std;' from header files.
2009-07-12 Onno Kortmann <onno@gmx.net>
* Extension of helpers.* with some string manipulation procedures
2009-07-11 Onno Kortmann <onno@gmx.net>
* Workaround for a major memory leak in verilog mode
2009-07-11 Onno Kortmann <onno@gmx.net>
* Simple SPI master waveform output check in c/verilog
2009-07-11 Onno Kortmann <onno@gmx.net>
* Dependency fix for verilog/examples
2009-07-11 Onno Kortmann <onno@gmx.net>
* Simple example of a SPI slave implemented in verilog
2009-07-11 Onno Kortmann <onno@gmx.net>
* Branch naming scheme docs
2009-07-11 Onno Kortmann <onno@gmx.net>
* Only build avr-fab devices when the XML files are available
2009-06-30 Onno Kortmann <onno@gmx.net>
* A few simple examples for the Icarus Verilog <-> Simulavrxx interface
2009-06-30 Onno Kortmann <onno@gmx.net>
* Major rework of the verilog interface
2009-06-30 Onno Kortmann <onno@gmx.net>
* Clean up public/private access flags for the AVR devices
2009-06-30 Onno Kortmann <onno@gmx.net>
* Doc strings for Hardware class
2009-06-30 Onno Kortmann <onno@gmx.net>
* AvrDevice::ReplaceIoRegister() should accept correct I/O range
2009-06-30 Onno Kortmann <onno@gmx.net>
* Clean up interface of MemoryOffsets
2009-06-30 Onno Kortmann <onno@gmx.net>
* Basic doxygen infrastructure for code documentation
2009-06-30 Onno Kortmann <onno@gmx.net>
* ATMega8 support in 'avr-fab'
2009-06-30 Onno Kortmann <onno@gmx.net>
* U(S)ART support for 'avr-fab'
2009-06-30 Onno Kortmann <onno@gmx.net>
* SPI support for the 'avr-fab' code
2009-06-30 Onno Kortmann <onno@gmx.net>
* Timer IRQ bit field configuration support for 'avr-fab'
2009-06-30 Onno Kortmann <onno@gmx.net>
* Automatic AVR device class generation from ATMEL XML files
2009-06-30 Onno Kortmann <onno@gmx.net>
* Remove automatically generated file src/config.h.in.
2009-06-29 Onno Kortmann <onno@gmx.net>
* SPI reimplementation
2009-06-29 Onno Kortmann <onno@gmx.net>
* Configurable bit fields for timer 01 IRQ bits
2009-06-29 Onno Kortmann <onno@gmx.net>
* Proper input capture support for HWTimer1
2009-06-29 Onno Kortmann <onno@gmx.net>
* Finishing the pluggable C++ factory for AVR devices
2009-06-28 Onno Kortmann <onno@gmx.net>
* Support hardware 3level stack for small AVR devices.
2009-06-28 Onno Kortmann <onno@gmx.net>
* Resurrect linking of the _pysimulavr.so shared object for the python simulavr library. This enables the python build again.
2009-06-28 Onno Kortmann <onno@gmx.net>
* This BFD linking with the shared object libbfd.so works much better.
2009-06-28 Onno Kortmann <onno@gmx.net>
* Ignore failure of kbd.xbm copy and remove the clean rule so that the file stays.
2009-06-28 Onno Kortmann <onno@gmx.net>
* Some further ideas and notes.
2009-06-28 Onno Kortmann <onno@gmx.net>
* Script to update from upstream CVS.
2009-06-28 Onno Kortmann <onno@gmx.net>
* .gitignore files for simulavrxx to ignore built files etc.
|