From jwbruce at ece.msstate.edu Mon Sep 3 11:36:17 2007 From: jwbruce at ece.msstate.edu (J. W. Bruce) Date: Mon Sep 3 11:36:22 2007 Subject: [ece4723] [ECE4723/6723] Lab design spec document Message-ID: <20136016.42481188837377163.JavaMail.root@zimbra.ece.msstate.edu> Embedded Sys-ers: I hope you are enjoying your Labor Day! I have posted a new revision of the lab design specification document on the website. Most of the changes are for the later lab tasks, but you will want to update your local copy of the document nonetheless. I hope to have the ESOS libraries and sample application available for download real soon now. see you tomorrow. JWB ------------------ J.W. Bruce, Ph.D., Associate Professor Department of Electrical and Computer Engineering Mississippi State University 216 Simrall, Hardy Road Mississippi State, MS 39762-9571 Office: (662) 325-1530 FAX: (662) 325-2298 From jwbruce at ece.msstate.edu Fri Sep 7 23:33:11 2007 From: jwbruce at ece.msstate.edu (J. W. Bruce) Date: Fri Sep 7 23:33:16 2007 Subject: [ece4723] [ECE4723/6723] ESOS distribution and sample code Message-ID: <5461283.51811189225991527.JavaMail.root@zimbra.ece.msstate.edu> The ESOS library is available on the class website under "software". It contains the headers, the MCC18 library, and the USB bootloader application. It also contains a sample ESOS user application that demonstrates most of the features of ESOS. The lab design document has been updated too. Have a nice weekend! JWB ------------------ J.W. Bruce, Ph.D., Associate Professor Department of Electrical and Computer Engineering Mississippi State University 216 Simrall, Hardy Road Mississippi State, MS 39762-9571 Office: (662) 325-1530 FAX: (662) 325-2298 From jwbruce at ece.msstate.edu Sat Sep 8 22:13:29 2007 From: jwbruce at ece.msstate.edu (J. W. Bruce) Date: Sat Sep 8 22:13:35 2007 Subject: [ece4723] [ECE4723/6723] FWD: homework 2 question In-Reply-To: Message-ID: <15112880.52561189307609937.JavaMail.root@zimbra.ece.msstate.edu> There is a typo in the HW#2 spec as noted in the email below. My cut-n-paste haste should have been easily spotted due to the Hungarian prefix notation. ;-) Cheers, JWB ------------------ J.W. Bruce, Ph.D., Associate Professor Department of Electrical and Computer Engineering Mississippi State University 216 Simrall, Hardy Road Mississippi State, MS 39762-9571 Office: (662) 325-1530 FAX: (662) 325-2298 ----- Forwarded Message ----- To: "J. W. Bruce" Sent: Saturday, September 8, 2007 6:06:21 PM (GMT-0600) America/Chicago Subject: homework 2 question In the homework 2 specs, the ow_u16_cfifo_init function has a parameter "uint16* prgu8Buffer". Should this be "uint16* prgu16Buffer", or is it correct as stated in the specs? The specs ask for the same thing in the 32 bit init function with "uint32* prgu8Buffer". From lah1 at ece.msstate.edu Mon Sep 10 15:38:38 2007 From: lah1 at ece.msstate.edu (Lee Hathcock) Date: Mon Sep 10 15:38:52 2007 Subject: [ece4723] USB Bootloader firmware Message-ID: It has been pointed out that the hex file for the bootloader was not made available. Since I don't have access to the website right now, here is the hex file for the 18F2550. It SHOULD work. If not, let me know (as I'm sure some of you in lab now will). :) Lee -------------- next part -------------- A non-text attachment was scrubbed... Name: usb_bootldr_18F2550.hex Type: application/octet-stream Size: 5773 bytes Desc: not available Url : http://www.ece.msstate.edu/pipermail/ece4723/attachments/20070910/a9edfef6/usb_bootldr_18F2550-0001.obj From lah1 at ece.msstate.edu Mon Sep 10 17:36:10 2007 From: lah1 at ece.msstate.edu (Lee Hathcock) Date: Mon Sep 10 17:36:22 2007 Subject: [ece4723] Also... Message-ID: A note about the p18_demo_app.hex file that is included: it is compiled for the 18F4550 ONLY. The name of the file should reflect this, but it does not. You'll have to compile your own to get it to work for the 2550. You may also need to put in your functions written for homework 1. Lee From lah1 at ece.msstate.edu Mon Sep 10 17:28:54 2007 From: lah1 at ece.msstate.edu (Lee Hathcock) Date: Mon Sep 10 22:27:18 2007 Subject: [ece4723] Forgotten file in archive for building linker file Message-ID: Yeah, so there were some files that were not included in the zip archive. Here they are. :) Update to archive will come later. Lee -------------- next part -------------- A non-text attachment was scrubbed... Name: rmc018_e.o Type: application/octet-stream Size: 1520 bytes Desc: not available Url : http://www.ece.msstate.edu/pipermail/ece4723/attachments/20070910/dd59b77c/rmc018_e-0001.o -------------- next part -------------- A non-text attachment was scrubbed... Name: rmc018i.o Type: application/octet-stream Size: 4371 bytes Desc: not available Url : http://www.ece.msstate.edu/pipermail/ece4723/attachments/20070910/dd59b77c/rmc018i-0001.o -------------- next part -------------- A non-text attachment was scrubbed... Name: rmc018i_e.o Type: application/octet-stream Size: 4311 bytes Desc: not available Url : http://www.ece.msstate.edu/pipermail/ece4723/attachments/20070910/dd59b77c/rmc018i_e-0001.o -------------- next part -------------- A non-text attachment was scrubbed... Name: rmc018iz.o Type: application/octet-stream Size: 4664 bytes Desc: not available Url : http://www.ece.msstate.edu/pipermail/ece4723/attachments/20070910/dd59b77c/rmc018iz-0001.o -------------- next part -------------- A non-text attachment was scrubbed... Name: rmc018iz_e.o Type: application/octet-stream Size: 4604 bytes Desc: not available Url : http://www.ece.msstate.edu/pipermail/ece4723/attachments/20070910/dd59b77c/rmc018iz_e-0001.o -------------- next part -------------- A non-text attachment was scrubbed... Name: rmc018.o Type: application/octet-stream Size: 1560 bytes Desc: not available Url : http://www.ece.msstate.edu/pipermail/ece4723/attachments/20070910/dd59b77c/rmc018-0001.o From lah1 at ece.msstate.edu Tue Sep 11 10:50:42 2007 From: lah1 at ece.msstate.edu (Lee Hathcock) Date: Tue Sep 11 10:50:52 2007 Subject: [ece4723] USB cables Message-ID: Everyone, You will need a USB cable for tonight. Get one that you are willing to sacrifice, because it's going to get hacked. Lee From lah1 at ece.msstate.edu Thu Sep 13 12:29:12 2007 From: lah1 at ece.msstate.edu (Lee Hathcock) Date: Thu Sep 13 12:29:25 2007 Subject: [ece4723] Updates to website Message-ID: Everyone, I have uploaded the other, much better datasheet for the TL431A. In addition, under the datasheets section, there are spreadsheets for the temperature, humidity, windspeed, and pinouts for the virtual weather boards. These should reside in the lab folder instead, but while I have access to other directories, I don't seem to have access to that particular one. Also, a new archive has been uploaded. Included with this version is the bootloader for the 2550, the rmcxxx.o files, and new library files. The libraries will be likely be updated again before the weekend, possibly today (depending on how well things go). Lee From lah1 at ece.msstate.edu Fri Sep 14 10:36:56 2007 From: lah1 at ece.msstate.edu (Lee Hathcock) Date: Fri Sep 14 10:37:13 2007 Subject: [ece4723] Update to archive, again Message-ID: Everyone, I updated the esos archive again yesterday evening. It should now be revision C. Please update to this version. It looks to work properly, and should hopefully be the last update of the libraries. Lee From lah1 at ece.msstate.edu Mon Sep 17 10:26:45 2007 From: lah1 at ece.msstate.edu (Lee Hathcock) Date: Mon Sep 17 10:27:01 2007 Subject: [ece4723] New version of sensor values spreadsheets up Message-ID: Everyone, I have merged the spreadsheets for the sensor values into one spreadsheet, Sensor_Values.xls. This should contain only the pertinent information that you will need to map voltages / ratios / frequencies to their "real" value. Lee From lah1 at ece.msstate.edu Mon Sep 17 12:10:11 2007 From: lah1 at ece.msstate.edu (Lee Hathcock) Date: Mon Sep 17 12:10:27 2007 Subject: [ece4723] Helpful info for lab Message-ID: Some things you might want to remember for project options: Under the MPLAB C18 tab, click where it says General in the pulldown tab, change to Memory Model, and make sure that you are using Large Code Model ( > 64K). Make sure your include paths have the C:\MCC18\h in addition to the ESOS stuff. Make sure your library paths have the C:\MCC18\lib in addition to the ESOS stuff. For this and the above, make sure that the ESOS files are FIRST in the list, just in case. Here is a link to the walkthrough to get this up and running: http://www.ece.msstate.edu/wiki/index.php/ECE3724_Microprocessors/lab_page Also, you might want a better terminal program (hint, hint) like Realterm. Lee From lah1 at ece.msstate.edu Thu Sep 20 12:22:39 2007 From: lah1 at ece.msstate.edu (Lee Hathcock) Date: Thu Sep 20 12:22:59 2007 Subject: [ece4723] Just a reminder... Message-ID: ...if you haven't checked off your task 3 with me, you need to do so ASAP. I should be here all afternoon. Lee From lah1 at ece.msstate.edu Thu Sep 20 13:43:42 2007 From: lah1 at ece.msstate.edu (Lee Hathcock) Date: Thu Sep 20 13:43:58 2007 Subject: [ece4723] Peer reviews for lab Message-ID: Everyone, Before next week's lab, fill out peer assessments for Task 1/2 (together) and Task 3. That way, I can get y'all some grades. Lee From lah1 at ece.msstate.edu Mon Sep 24 11:13:57 2007 From: lah1 at ece.msstate.edu (Lee Hathcock) Date: Mon Sep 24 11:14:12 2007 Subject: [ece4723] Files for lab Message-ID: Everyone, Files have been added for task 4 under the Lab link. Also, data for task 2 has been moved to a better location, in the task 2 folder in the same place. Unit test files forthcoming slightly later. Also, please inform me of these things _before_ the weekend. Sometimes I am out of town, with zip in terms of email access. Lee From lah1 at ece.msstate.edu Mon Sep 24 12:07:50 2007 From: lah1 at ece.msstate.edu (Lee Hathcock) Date: Mon Sep 24 12:08:08 2007 Subject: [ece4723] A note about the ds1631.py file Message-ID: There is no getCounter function for the 1631. That was leftover from my 1621 code. Also, you may want to write functions that correspond to the I2C commands, so that instead of putting, for example, F1 2C 05 F0 ..., you can put each in using an i2cStart, i2cWrite, and so forth. Lee From lah1 at ece.msstate.edu Tue Sep 25 18:37:20 2007 From: lah1 at ece.msstate.edu (Lee Hathcock) Date: Tue Sep 25 18:37:41 2007 Subject: [ece4723] unittest.py Message-ID: Everyone, Here is the ds1631_unittest.py file. Give it a go to test your stuff out. Lee -------------- next part -------------- A non-text attachment was scrubbed... Name: ds1631_unittest.py Type: application/octet-stream Size: 5746 bytes Desc: not available Url : http://www.ece.msstate.edu/pipermail/ece4723/attachments/20070925/b8eb81c2/ds1631_unittest-0001.obj From jwbruce at ece.msstate.edu Thu Sep 27 15:44:49 2007 From: jwbruce at ece.msstate.edu (J. W. Bruce) Date: Thu Sep 27 15:44:54 2007 Subject: [ece4723] [ECE4723/6723] Task #5 due Oct 8-9 Message-ID: <25637353.88361190925889515.JavaMail.root@zimbra.ece.msstate.edu> The lab schedule online is correct. The lecture slide today was wrong. Task#5 is due on October 8 or 9th. Have a safe and happy fall break. jwb ------------------ J.W. Bruce, Ph.D., Associate Professor Department of Electrical and Computer Engineering Mississippi State University 216 Simrall, Hardy Road Mississippi State, MS 39762-9571 Office: (662) 325-1530 FAX: (662) 325-2298