[sim-wg] Agenda for 3/13 telecon
Venkatesh S.
svenkat at cedt.iisc.ernet.in
Tue Mar 13 22:59:35 PDT 2007
I had taken a simple blink application, but I wanted to take a
network application and simulate the network and get the results (both
in AVRORA and our T2 power model). To do so, I am stuck in the
discussion items and I am briefing out the same.
Discussion Items:
1. Added the ADC functionality in TOSSIM, but need to discuss
regarding the ADC model.
To know about the MCU state of ADC_NR, I needed this part to
be done. So, I thought of porting the ADC functionalities which is
present in tos/chips/ATM128/adc to the simulation. I didn't change
much, but modified the ATM128AdcP.nc to return a random number in the
"getData" command. I wanted to bring the notion of interrupt and for
signaling the "dataReady(data)" event. Is there a way to bring the
notion of interrupt?
2. Adding the functionality of MCU ACTIVE state
For an MCU to be ACTIVE, he has to service any of the
peripherals over the time. The peripherals are SPI busses, UART busses,
ADC, external oscillator, accessing external memory such as flash. I
think I need to access some registers to know about it, but not sure
which all.
3. Adding the SPI functionality in TOSSIM
When looking through the micaz platform, I found two files in
the platform/micaz/chips/cc2420/sim directory. It was providing the
functionalities of the SPI pins of the microcontroller and the radio
pins. Implementation for cc1000 radio was followed as per above. What
are the functionalities that I need to add to this file and link the
same to the radio? Also, I am thinking of binding this to the cc1000
radio, so that I can do the Radio profiling.
4. Radio profiling with SPI functionality
Radio profiling can be done either considering the MAC layer (B-Mac
of CC1000) or the Tossim MAC. If we can have a simulation of SPI, then
binding the SpiPacket interface to the simulator will do the packet
level simulation retaining the MAC layer above it (CC1000). When I
think of porting this MAC to simulation, I need to know the RSSI which
is linked to ADC block.
5. Difficulty in getting the AVRORA results
I used AVRORA tool for running the T2 Blink application, it worked
fine. When I tried the same with a network application
(MultihopOscilloscope), I was unable to get the energy profiling of the
radio. This happens with the T2 code, but for T1 it works fine.
So chad, if I get some inputs on the above discussion, then I may be
completing the first stage in a couple of weeks.
--
Regards,
Venkatesh S
________________________________
From: Chad Metcalf [mailto:metcalfc at gmail.com]
Sent: Tue 3/13/2007 10:36 PM
To: Venkatesh S.
Cc: Simwg
Subject: Re: [sim-wg] Agenda for 3/13 telecon
This looks great. Do you have a feeling for how long it might take to
get the power extensions into a releasable state?
Thanks
Chad
On 3/13/07, Venkatesh S. <svenkat at cedt.iisc.ernet.in> wrote:
Hi all:
I would like to put forth the following items in the conference:
Reporting Items:
1. CPU Profiling: Tracking the different states of the
Microcontroller (MCU) and computing the energy/state.
a. Manipulated the MCUCR register to know the states of the MCU
2. Tracking of all hardware pins (using only port A pins (0,1,2)
of LEDS and computing the energy spent by LEDS)
3. Included a PowerManagement file which keeps track of computed
energy.
4. Comparison of T2 Power Model with respect to AVRORA tool
a. Blink Application which toggles a Red LED for every 1 second.
b. Simulation time 60 sec
Blink Application
AVRORA
T2 POWER MODEL
CPU [IDLE state]
601.6 mJ
539.6 mJ
LEDS
196.2 mJ
174.02 mJ
Discussion Items:
1. Added the ADC functionality in TOSSIM, but need to discuss
regarding the ADC model.
2. Adding the functionality of MCU ACTIVE state
3. Adding the SPI functionality in TOSSIM
4. Radio profiling with SPI functionality
________________________________
From: sim-wg-bounces at Millennium.Berkeley.EDU
[mailto:sim-wg-bounces at Millennium.Berkeley.EDU] On Behalf Of Chad
Metcalf
Sent: Saturday, March 10, 2007 1:34 AM
To: simwg
Subject: [sim-wg] Agenda for 3/13 telecon
Hi folks:
In an effort to improve the usefulness of the teleconferences I'm trying
to send out agendas. The big item next Tuesday is going to be TTX. The
TinyOS Technology Exchange (TTX) event is coming up in April right after
IPSN.
http://tinyos.stanford.edu/ttx/2007
One of the items on the agenda is a report from each of the Working
Groups on their activity to date. I am wondering how many folks from the
simulation WG are planning to attend the meeting?
The goal for the telecon is to discuss what all we will be presenting
and some of our future plans.
Thanks,
Chad
--
Chad @ Home
_______________________________________________
Sim-wg mailing list
Sim-wg at Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/sim-wg
--
Chad @ Home
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/sim-wg/attachments/20070314/c3f50974/attachment-0001.html
More information about the Sim-wg
mailing list