Apr 8, 2013

Hidden Dangers of Xylitol

Xylitol is a natural sweetener that is slowly gaining popularity as a healthy substitute for sugar. It is relatively more expensive than other artificial sweeteners available on the market. Xylitol is extracted from berries, vegetables, corn cobs, birch and mushrooms.


Dentists recommend xylitol as a sugar substitute as it does not cause tooth decay and gum diseases compared to other sweeteners. Xylitol differs to natural sugars because it contains only five carbon atoms in its molecular structure compared to sugar which has six. Scientific research has proven that consuming up to 50 grams of xylitol is safe per day. However, consuming more than this amount, can lead to toxic effects on the body. This article discusses the dangers of consuming more than 50 grams of xylitol per day.

Xylitol can be found in chewing gum, sweets, chocolate, cookies, as a powder and in tablet form. Some toothpaste and mouth wash brands also use it because of its innate bacterial fighting properties. Xylitol tastes very similar to sugar. If you are using xylitol as a sweetener in any of these forms, you need to be aware of how much you are consuming each day in your diet. Although the recommended safe level of consumption is 50 grams, each individual may suffer side effects after consuming much less. Here are the side effects you need to be aware of.

Diarrhea and Bloating

Like eating too much fruit, xylitol can cause diarrhea and bloating. It acts as a laxative and can cause distention of the abdomen and abdominal cramps and pain. It can also cause nausea and vomiting. It is the sugar alcohols in xylitol which are similar to fructose that can have a laxative effect.

Cancer

Scientists are concerned that consuming high amounts of xylitol over extended periods can cause tumors. Children should not consume more than 20 grams per day. Parents need to be aware of xylitol added to sweets, chewing gum, chocolate and cookies that they may be feeding their children daily.

Diabetes

Excessive amounts of xylitol can cause spikes in blood sugar levels. The sugar alcohols in xylitol may destabilize blood sugar levels in both healthy individuals and those that have been diagnosed with diabetes. Although xylitol is a healthy substitute for sugar to be used by diabetics, excessive amounts can cause hyperglycemia.

Weight gain

Although xylitol only has 2.6 calories per gram, consumption of excessive amounts can lead to weight gain. People who are dieting and using xylitol as a substitute for sugar need to monitor their intake of xylitol, as the calories quickly add up and excessive intake can be toxic.

Allergic Reaction

Allergic reactions are rare but some individuals have been reported to have experienced hives, rashes, itchy skin, wheezing, mouth sores and or swelling of the mouth and throat. Severe allergic responses can be fatal if not treated quickly.

In conclusion, xylitol is safe to consume in moderation. As a rough guide, consuming one piece of chewing gum sweetened with xylitol contains 0.7 to 1 gram. Three teaspoon of xylitol sugar substitute contains 15 grams. It is easy to see that keeping your intake down to less than 50grams per day would require careful monitoring.

Xylitol is also terminally toxic to dogs, so ensure you keep it away from pets. Forty countries around the world have approved xylitol for consumption. If you are a diabetic wishing to substitute sugar for xylitol, it is recommended that you consult with your doctor first. Many products contain traces of xylitol, so when monitoring your intake be sure to read labels carefully. Xylitol, although a naturally occurring substance, it does have side effects which we all should be aware of.

Apr 7, 2013

Bad Breath Remedies

There are many people out there, who suffer from bad breath, which is medically termed as halitosis. We all know that it is a very common condition that may occur in almost every person's life, at one time or another. While, there are many different causes for bad breath, poor oral hygiene is found to be a major one. Even underlying medical conditions can be a reason for bad breath. So, it will be beneficial to diagnose the cause for this condition, so that it can be remedied at the earliest. This article will provide you with some bad breath remedies that may prove useful in getting rid of this condition. Before that, let us take a look at the possible causes of bad breath.


Bad Breath Causes

As mentioned above, bad breath can be caused by various reasons, right from poor oral hygiene to certain medical conditions. One of the most common cause is poor dental or oral hygiene. Absence of regular brushing and flossing may lead to bacterial growth on the teeth, gums as well as the tongue, leading to bad breath. Persistent bad breath, even after regular brushing can be due to gum diseases or other dental conditions. This includes gingivitis, tooth abscesses, dental caries, yeast infections, etc. Even dry mouth (xerostomia) can be a cause of bad breath. Apart from the above said causes, smoking, chewing tobacco products, excess alcohol consumption, etc., are found to cause halitosis.

There are certain medical conditions that may cause bad breath and these include sinus and throat infections, post nasal drip, pneumonia, bronchitis, allergies, acid reflux, digestion problems, certain kidney and liver conditions, diabetes, dehydration, etc. Dieting and stress may affective the digestive system and may cause bad breath. Another common cause of bad breath is consumption of foods, like, garlic, onion, etc. While, some of these causes are avoidable, others can be countered with lifestyle changes, remedies or treatment. The next paragraph deals with the commonly used bad breath remedies.

Remedies for Bad Breath

As discussed above, some of the bad breath causes are avoidable. These include poor oral hygiene, chewing tobacco, etc. A good oral hygiene regimen will work wonders for some people with this condition. You must brush and floss regularly and rinse with a good mouthwash (with no alcohol). You may also use a tongue scraper. Some people resort to gargling with hydrogen peroxide (3%), so as to counter bad breath. However, this chemical should be used in diluted versions and should not be swallowed. A dental check up, at regular intervals (at least twice a year) is also advisable, as this may help you to keep dental diseases at bay. Following are certain tips about how to get rid of bad breath.
  • Avoid smoking, excess alcohol consumption and chewing tobacco-based products. Avoid foods that cause bad breath or else, use mouth fresheners after having such food.
  • As certain medications can cause bad breath, consult your doctor, so as to rule out that possibility. Water is considered as a good bad breath cure. Drink lots of water and rinse your mouth, after each meal. Get the periodontal diseases treated.
  • There are certain bad breath remedies that can be tried at home, to ward off this embarrassing body condition. Chewing fruits, like, apple, orange, guava, etc., may work wonders in tackling bad breath. Some people try brushing teeth with baking soda, for tackling bad breath.
  • You may also chew a cardamom or some fennel seeds, cloves, spearmint or parsley, for this purpose. Consuming a small amount of plain yogurt may also be useful.
  • You may prepare a homemade mouthwash with a cup of lukewarm water, one teaspoon of apple cider vinegar and ¼ teaspoon of baking soda. You may also gargle with salt water, so as to get rid of bad breath.
  • Green tea is one of the popular bad breath remedies. Even fenugreek tea and parsley infusion may be useful for this purpose. Juices prepared from green leafy vegetables are also said to be effective for countering bad breath.
Now, you have a fair understanding about bad breath and the commonly used bad breath home remedies. The above said is only a brief overview about the same. But, if your problem still persists, even after trying these bad breath remedies, then, make sure to consult your doctor, so as to rule out the possibility of any underlying medical condition. It's always better to consult your doctor, who will be the best person to advice you about bad breath treatment.

Symptoms of Stomach Acid Imbalance

In the human body, the structures comprising the digestive system secrete enzymes, intrinsic factors and gastric acid. All of these secretions are necessary for proper digestion of food in the stomach. This article particularly discusses gastric acid and the effect of its higher or lower concentration on your health. To begin with, gastric acid is also known as stomach acid. It is described as an acid solution with a pH of 1-2 in the lumen of the stomach. It mainly consists of a small amount of hydrochloric acid and large quantities of sodium chloride and potassium chloride.


Stomach Acid Secretion

Stomach acid is produced in all the three stages of digestion: cephalic, gastric and intestinal. The secretion of gastric acid in the cephalic phase is stimulated in anticipation of sensory aspects of food. The secretion is induced by the smell, sight or the feel of food in the mouth. In the gastric phase, the secretion is stimulated when food enters the stomach. The production of proteins during digestion increases the secretion of stomach acid even more. Once the contents of the stomach are emptied into the small intestine, the secretion of gastric acid is stimulated by distention of the small intestine. The stretching of the intestine is followed by inhibition of gastric activity.

Some conditions can alter the normal concentration of gastric acid. These include autoimmune disorders, use of antacids, pernicious anemia, stomach cancer, atrophic gastritis, radiation therapy, etc.

Low Gastric Acid

The condition of low stomach acid can give rise to numerous uncomfortable and irritating symptoms. Insufficiency of acid in the stomach leads to indigestion. Since, a good amount of broken food is left in the stomach, bacteria and other micro-organisms start growing in number. This leads to an imbalance of probiotics and harmful bacteria, which in turn hinders your body's ability to absorb nutrients. In this way, low gastric acid does not allow the nutrients to get absorbed by your body, hence there occurs a deficiency of nutrients in spite of eating healthy food in good amount. Long-term deficiency of nutrients can cause more serious health issues, mostly arising from weak immune system. All other symptoms that are associated with low stomach acid arise due to the presence of undigested foods in the stomach. Following are some of them:
  • Bloating
  • Belching
  • A feeling of fullness even after eating little or nothing
  • Indigestion (Diarrhea or Constipation)
  • Acne
  • Food allergy
  • Fatigue
How to Get Relief
  • Reduce the intake of sugar from your diet till you recover from the condition.
  • Refined carbohydrates such as white bread, whole wheat products, etc., should be excluded from the diet.
  • Fermented food and drinks are very helpful in retaining the acid level of the stomach.
  • Avoid processed food items as they may aggravate the condition.
  • Alcohol and caffeine should also be avoided in such condition.
  • Yogurt is very helpful in improving the condition of your stomach in case of low gastric acid.
  • Ginger helps the process of digestion and reduces bloating.
Excess Gastric Acid

Under the conditions of excess gastric acid, you are most likely to suffer from indigestion due to acidity and heartburn. The major digestive ailments that can be responsible for indigestion and heartburn are irritable bowel syndrome and gastroesophageal reflux disease. Another easily identifiable symptom includes sour taste. The sour taste in your mouth is due to regurgitation of stomach acid into the esophagus. Other common symptoms of excess stomach acid are
  • Nausea
  • Loss of appetite
  • Burning sensation
  • Vomiting
  • Excess formation of gas
  • Burping
  • Stomach ache
How to Get Relief
  • Avoid citrus fruits, chocolate, peppermint, caffeine, etc.
  • Alcohol and tobacco consumption in any form should be stopped immediately.
  • Avoid spicy and fatty foods.
  • Garlic, onions and legumes can aggravate the condition, hence avoid them as well.
  • Drink lots of water and juices as it will neutralize the acid.
  • Avoid dairy products in order to relieve heartburn. But a cool glass of whole milk absorbs the acid and helps in reducing the symptoms of high gastric acid.
  • Mint is very effective in relieving the symptoms of acidity. You can just chew few leaves or can have mint juice.
  • Avoid carbonated beverages as that can increase the acidic content in the stomach.
It is important to consult a medical practitioner if you notice the aforementioned signs and symptoms to avoid serious medical complications. Proper and timely medical treatment can restore the normal state of your stomach. Following a balanced diet and a moderate exercise regime will definitely help you recover fast.

Sour Stomach Remedies

Abdominal discomfort can be caused due to a variety of reasons ranging from poor dietary habits to serious medical conditions. At times, one may experience discomfort or queasiness due to the presence of excessive amounts of hydrochloric acid in the stomach. Though hydrochloric acid aids in the digestion process, too much of it can cause a person to experience symptoms such as abdominal pain, bloating, nausea, heartburn or loss of appetite.


Remedies

Most of the cases of sour stomach are minor ones and usually temporary. In such situations, one can follow certain tried-and-tested home remedies.
  • Aloe vera which is said to have anti-inflammatory and antibacterial properties is said to be one of the best solution. You can either buy aloe vera juice available in the market or make your own to relieve yourself from the discomfort caused by acid indigestion.
  • Here is another remedy. Mix carrot juice with equal amounts of water. Adding fennel seeds to the carrot juice will make it more effective.
  • In the same way, consuming papaya on a daily basis will also work well.
  • Drinking a cup of green tea is a good way of reducing the acidity level in the stomach. Apart from that, drinking tea made with fennel seeds, coriander and cumin also aids in speeding the digestion process, thus, preventing acid indigestion.
  • There are also some herbal remedies that one can try to alleviate the problem of acid indigestion. There are several herbal supplements like marshmallow root, wind flower, ginger root, etc. that will help in finding relief from the discomfort caused due to this condition.
Causes

Knowing the underlying cause is essential in order to prevent this stomach ailment in future. Though there are several reasons which can cause acid indigestion in a person.
  • Nowadays, it has been observed that people have dinner close to sleeping time. This may adversely affect the process of digestion.
  • Apart from this, the type of foods consumed can also aid in the production of excess hydrochloric acid, thus giving rise to acid indigestion. Consuming foods that are high in fats is one of the common contributory factors.
  • Smoking, tobacco consumption and stress are believed to be risk factors as well.
Preventive Measures

Apart from these home remedies, it is also important to make some lifestyle changes, which are as follows.
  • Dinner should be consumed several hours before going to bed. Moreover, it is also important to consume light food that are rich in nutrients including fruits and vegetables.
  • One must avoid foods that are high in sugar and fats, especially at dinner time. Consumption of dairy products should also be restricted because these foods contain enzymes which are difficult for the system to digest quickly.
  • Overeating should be avoided. Dinner should be followed by light exercises like walking as this helps in quickening the digestion process.
  • If you indulge in smoking, it will be best to get rid of this habit to find relief from this problem. Moreover, one should also restrict the consumption of coffee and carbonated drinks.
  • Practicing yoga, meditation and other such relaxation activities will help in getting rid of stress.
These are some of the remedial medicines that will help you in curing the problem of acid indigestion. However, if you are not finding any relief with these remedies and if you are experiencing symptoms like heartburn and peptic ulcers frequently, it will be best to consult the doctor as soon as possible.

The 7 Important of Alkaline Foods

Your health depends on the balance of an alkaline environment, created by eating foods such as tomatoes, avocados and green vegetables…striking the optimum 80/20 balance and regulating your body’s acid/alkaline chemistry through simple changes in diet can result in weight loss, increased stamina and strength, a stronger immune system and a greater sense of well-being.


1. SPINACH -All leafy greens should be eaten in abundance but spinach is my absolute favourite because it’s easy to buy, easy to use in recipes and salads and is delicious. Baby spinach or fully grown spinach are Nutritional powerhouses and are incredibly alkaline. As with all green foods, spinach is rich in chlorophyll (see more about the health benefits of chlorophyll here), a potent alkaliser and blood builder. It is also super high in vitamin K, vitamin A, manganese, folate, magnesium, iron, vitamin c, vitamin b2, calcium, potassium, vitamin e, dietary fiber…I doubt there is a more all round healthy food on earth and I highly encourage you to eat spinach throughout the day, every day.

2. KALE -Kale is another leafy green beauty that is widely known for its Cancer-Fighting, Cholesterol-Lowering, Antioxidant-rich, and Detoxifying goodness. Less popular than spinach, but only because it has a history of being cooked poorly (like cabbage) – when done right it is absolutely delicious (see recipes below, you’ll thank me). If you eat kale 2-3 times per week you’ll know it. Like spinach it is massively high in vitamin K, vitamin A and vitamin C and being Leafy Green it also has a huge Chlorophyll content. The reason it is so powerful against the Cancer Fight is that kale contains at least four Glucosinolates. I don’t want to lose you here by using words like glucosinolates – all you need to know is that as soon as you eat and digest kale, these glucosinolates are really easily converted by the body into cancer fighting compounds. Also quite amazing for Lowering Cholesterol, it should be noted that steamed kale is more effective for cholesterol lowering than raw.

3. CUCUMBER The beauty of cucumber is it’s water content – 95%. That is phenomenal and you won’t find that anywhere else. It’s the daddy of water-content. This of course makes it an incredibly hydrating food to consume, that ALSO contains superb amounts of antioxidants, including the super-important lignans. These highly beneficial polyphenols have more commonly been associated with the cruciferous vegetables, but their content in other veggies such as cucumbers is gaining more and more attention. Cucumbers contain a right load of lariciresinol, pinoresinol, and secoisolariciresinol , three lignans that have a huge and very strong history of research in connection with Reduced Risk of Cardiovascular disease as well as several cancer types, including Breast, Uterine, Ovarian, and Prostate Cancers. The best thing about cucumber is that they provide the base for practically every alkaline soup, smoothie and juice – giving you a very alkaline, very nutritious base that also tastes great. In terms of the actual nutrient RDA per serve, cucumbers contain fair amounts of vitamins K and C, and slightly less of vitamin A and the B vitamins. Cucumbers also contain the following alkaline minerals: calcium, iron, phosphorus, potassium, magnesium, selenium, copper, manganese, iron and zinc.

4. BROCCOLI – Broccoli is just a must. If you are serious about living with health, energy and vitality you simply have to eat broccoli, if not on a daily basis, then at least 4 times per week. Broccoli has been proven over and over and over again to be incredibly powerful in inhibiting Cancers, supporting the Digestive System, the Cardiovascular System, the Detoxification processes in the body and also supporting the Skin, metabolism, İmmune system, being an Anti-Inflammatory and providing ample Antioxidants. Eaten steamed or raw its a Hugely Alkaline, Hugely Nutritious food. Please, please, please eat lots and lots of it. Put it in salads, juices, smoothies, soups…steam it with other veggies – you can even roast

5. AVOCADO -I eat a LOT of avocado. Not a salad, smoothie or soup goes by without me adding at least 1/2 an avocado per person. I probably eat at least five-seven per week, myself. Now, I know a lot of people give avocado a bad rep because it is a high-fat food (85% of it’s calories come from fats) – but this is totally insane. These are good fats that will not make you gain weight. If anything, due to the high content of oleic acid (making it an Omega 9 fat and very similar to olive oil), it can lower total cholesterol level and raise levels of high-density lipoproteins (HDLs) while lowering low-density lipoproteins (LDLs), also known as the “bad” cholesterol. Oleic Acid also slows the development of heart disease, and promotes the production of Antioxidants. These beneficial omega oils also help speed the metabolism, actually leading to weight loss rather than gain. So now we’re over the fat issue, avocado also contains a wide range of other nutrients that have serious Anti-İnflammatory, Heart Health, Cardiovascular Health, Anti-Cancer, and Blood Sugar Benefits. Containing key Antioxidants such as alpha-carotene, beta-carotene, lutein, selenium and more – it is a powerful, alkaline, nutrient-dense superfood.

6. CELERY – Celery, like cucumber is a favourite because it’s alkaline AND really high water content, so is used very frequently as a base in juices and soups (not so much smoothies as you have to juice it first…and then you have double the washing up). One of celery’s big benefits is it’s vitamin C level, which has the well known benefits – but two of it’s lesser known nutrients are phthalides which have been shown to Lower Cholesterol and coumarins which have been shown to inhibit Several Cancers. The beauty of vitamin C rich foods are that they help with the most common and most challenging health concerns – they support the İmmune system, inflammation (so helps with Arthritis, Osteoporosis, Asthma etc), and vitamin C also helps significantly with Cardiovascular Health. If you are on a weight loss journey, you’ll also be happy to hear that this alkaline staple contains plenty of potassium and sodium and so is a diuretic – meaning it helps rid the body of excess fluids.

7. CAPSICUM / BELL PEPPER / PEPPER – The antioxidant superpower, bell pepper is one of my all-time-favourites because it is sweet, crunchy and refreshingly delicious. You can use it in almost any meal raw, grilled, fried, and roasted and it is always a winner. Impressively beneficial to our health cartenoids are highly researched and get a lot of attention in the health field and bell peppers contain over 30 different members of the carotenoid nutrient family. The only other food that is close to this is Tomato and all other foods are also-rans. Bell peppers have shown up in research relating to decreasing the risk of Cardiovascular Disease, type II Diabetes, Macular Degeneration, Cancer, inflammation and more. Alongside these lesser known or more complex-named antioxidants, bell pepper is one of, if not the best food source of the more common antioxidants: vitamin C, vitamin A and vitamin E. In fact, bell peppers contain twice as much vitamin C as oranges. Here are just SOME of the antioxidants bell pepper contains: – Flavonoids – luteolin – quercetin – hesperidin – Carotenoids – alpha-carotene – beta-carotene – cryptoxanthin – lutein – zeaxanthin – Hydroxycinnamic Acids – ferulic acid – cinnamic acid.

Alkaline Foods for Acid Reflux

All over the world, there are millions of people who are suffering from acid reflux. In the United States alone, over 20 million people have to deal with this condition, which is also known as Gastroesophageal Reflux Disease (GERD). This condition could be controlled to some extent by consuming alkaline foods or with natural treatment.


The esophagus leads from the throat and opens into the stomach. This opening is guarded by a circular muscle band which is known as the Lower Esophageal Sphincter (LES). LES is entrusted with the task of maintaining one-way traffic of food; from the throat to the stomach. When this sphincter starts malfunctioning, the gastric acid which is involved in the process of digestion, starts seeping into the esophagus, especially when you are lying down. The gastric acid acts as an irritant on the unprotected cartilaginous wall of the esophagus which leads to acid reflux. The following is a brief note on the alkaline foods which hopefully may help you in countering the effects of the acid reflux.
  • Artichokes
  • Radish
  • Swede
  • Lambs Lettuce
  • Courgette
  • Leeks
  • Watercress
  • Turnip
  • Chives
  • Carrots
  • Green beans
  • Beetroot
  • Potatoes
  • Celery
  • Cucumber
  • Broccoli
  • Kale cabbage
  • Any sprouted seed
  • Brussels sprouts
  • Garlic in the form of garlic tea.
  • Food items that are rich in fats and oils can also serve as an answer for acid reflux. These include coconut oil, olive oil, avocados, olive, evening primrose.
  • Inclusion of sprouts. Sprouts such as soy, mung bean, wheat, little radish, chickpea and broccoli etc, may help you in your efforts to vary your diet.
  • Asparagus helps in maintaining the acid-alkali balance of the body.
  • Seeds, nuts and grains such as almonds, pumpkin, sunflower, sesame, flax, buckwheat groats, cumin seeds, rice and wheat are useful.
  • You can consume alkaline foods in the form of fresh vegetable juice, pure water which is chemically neutral in nature, lemon water, herbal teas, vegetable broth and soy products such as unsweetened milk.
  • Spinach, parsley, milk and eggs which contains glutamine can also be consumed as alkaline diet for acid reflux.
  • Vegetables like cabbages, lettuce, onion, cauliflower and peas can help you effectively.
  • Fruits such as almonds milk, lemon, avocado, tomatoes, blueberries and strawberries in moderate amounts, bananas, grapes, watermelon, apples and papaya.
  • Normally, fresh fish like salmon are safe to eat, but some of the other type of fish may not suit your condition.
If you are affected by GERD, it means you have to change your lifestyle. You can start by changing to alkaline diet that will be easy on your stomach. Your failure in doing so may cause surplus acid to give you ulcers.

Ketones in Urine During Pregnancy

Ketones in the urine during pregnancy is a health concern which some women experience during those crucial nine months. Although, it is not a high-risk pregnancy complication, studies reveal that it can be a cause of worry.


Ketones are substances derived from fat breakdown. They are used by the body as a source of energy under emergency circumstances, like starvation or glucose deficiency, in order to survive. In other words, ketones in the urine are formed when the body's fat reserves are used to generate energy.

Ketones in the blood further leads to ketosis. Weakness, nausea, lethargy, and excess sweating are signs of ketosis.

Occurrence

Our body gets its energy from the food we eat, which gets converted into glucose or blood sugar. It is insulin which provides an easy access to this blood sugar. During pregnancy, the placental hormones make the body resistant to insulin, which subsequently restricts the glucose in the blood from entering the cells. Hence, though the blood will be enriched with blood sugar, the cells will be deprived of the required energy. As a result, the cells start accessing other energy sources, like the fat stores, resulting in ketones as the byproduct of this entire process.
Causes

There can be various factors that may contribute to large ketones in the urine during pregnancy; dehydration and bad diet, to name a few. Others are enlisted below:
  • Not getting enough calories from the food you are eating
  • Long time intervals between meals
  • Skipping meals or snacks
  • Gestational diabetes
  • Diets which include low intake of carbohydrates
  • Dehydration - not drinking enough water
  • Metabolic disorders
  • Nausea, poor eating habits or throwing up
  • Insulin resistance from hormones as a result of which the body is unable to access blood sugar
  • Testing
Ketone testing is very much different from normal urine sugar tests. You need to wash yourself properly, and collect your urine in a sample box. It is better to let a small amount of the initial urine fall into the commode. This will clear the urethra of contaminants. About 1 or 2 oz. of urine will be sufficient for the test. Then you can ask your health care provider to examine the presence of ketones in your urine. Nowadays, different ketone sticks are available in the market which can be used for ketone testing.

For optimum results, it is better to use the first sample of urine (taken first in the morning) for testing, as due to the overnight fast, the blood sugar levels drop. It is then that the body starts looking for fat stores as a source of energy, which results in giving off or spilling of ketones in urine.

You may have to go on a different diet before you take the test. Please make sure not to consume any drugs before the test. Doing so might affect the test results. The test does not cause any discomfort, as it is carried out through normal urination samples itself. There are no risks either. It is always important to take a ketone test during pregnancy, as high levels of ketones in the urine can be harmful to you and your baby.

If ketones are present in your urine, the test results are said to be abnormal. The abnormality is categorized into three parts. Small is < 20mg/dL, moderate would be 30 - 40 mg/dL and large would be > 80 mg/dL. Small amount may mean that the build-up has just started. Conduct the test again after few hours. Moderate or large amounts may prove to be dangerous. Ask for a doctor's opinion in the latter case.
Prevention

It is always recommended to consult a doctor for this problem. In order to prevent ketones in general, you should avoid skipping meals or having long gaps between each meal. You should eat after every 3 to 4 hours during pregnancy. Also, try having a good bedtime snack which should be rich in proteins and starch. This is because protein slows down the absorption of carbohydrates, which benefits by making energy available to the body for a longer duration of time.

Also, remember not to keep more than 9 to 10 hours gap between your bedtime snack and breakfast, as this will lower the risk of presence of ketones in urine. Hence, consider having small yet frequent meals, high in proteins and starch, in order to avoid the situation.

However, there have been cases when the patient isn't starving, nor is she dehydrated, but still spills ketones in her urine. In such cases, putting on weight by overeating is not the solution. It is necessary to eat nutritious food like fruits and vegetables. Drinking plenty of water will keep your baby healthy.

During pregnancy, one should consume about 1800 to 2500 calories, on a daily basis. Maintaining a food diary or journal should prove helpful to keep a count on what you have been eating, along with the time and calorie count. Seek advice from a nutritionist or refer to pregnancy diets for proper guidance. You could also attend weight watcher meetings.

To conclude, we can say that occasional traces of ketone bodies in urine during pregnancy do not seem to be a very serious problem; unless there are larger amounts or frequent bouts of ketones in urine. Whether traces of ketones in urine during pregnancy is dangerous or not, is a debatable topic. However, some studies emphasize that women with large amounts of ketones, may have babies with learning disabilities or reduced IQ later in life.

Regular monitoring of the first urine in the morning (for ketones by a midwife or doctor), especially in women having gestational diabetes, can help in preventing as well as treating this health ailment.

Ketosis Side Effects

Normally, our body gets energy from various dietary sources of carbohydrates. When the carbohydrate content is reduced in a diet, our body is forced to obtain energy by burning the body fat. The specialized metabolic mechanisms for the breakdown of fat molecules in the adipose tissue are activated in order to achieve this. Such a breakdown of fats to obtain energy results in the production of beta-hydroxybutyrate (BHB) and acetoacetate.


Acetoacetate further breaks down to acetone which is utilized to fulfill the energy requirements of the body. These three molecules are collectively termed as ketone bodies. In the initial few days, the excess ketone bodies are excreted through urine, and the level of ketones in the body remain balanced. Later on, the continuous rise in ketones leads to their accumulation in the body. This condition is referred to as ketosis. The state of ketosis is not only associated with weight loss, it may also prove beneficial in the treatment of Alzheimer's disease, Parkinson's disease, and epilepsy seizures in children.

How Does Ketosis Help in Weight Loss?

Many people who are willing to lose weight through dieting, opt for a ketogenic diet. In this diet plan, the fat intake is high and the intake of carbohydrate is very low. Research studies suggest that such a diet leads to weight loss by reducing hunger, triggering the utilization of fat reserves in the body, and depletion of glycogen reserves in liver along with water loss. However, these effects have been evaluated on a short-term basis only. The long-term effects of such a diet is a debatable issue as yet.

Side Effects of Ketosis

There are several side effects which are observed in people who are following a ketogenic diet. Most of the side effects show up 3-7 days after starting the diet. The most obvious side effect that people talk about, is loss of hunger. Some people rejoice on this effect as it helps them to lose weight but many of them cannot tolerate it. This lowers their energy levels so much that they feel unwell. They suffer from minor problems like headache, nausea, irritability, sudden dizziness, and so on. They may also experience sluggish mobility, as more energy is required in breaking down the fats for production of usable energy for the body. Dehydration and constipation are often observed in the beginning of the diet program. These problems are resolved by drinking plenty of water and eating fiber-rich foods.

Bad breath is another side effect of ketosis which is triggered by the abnormal increase in the ketone bodies. The body gets rid of the excess amount of acetone through breath resulting in halitosis. In fact, breath acetone serves as a diagnostic measure for ketosis.

Ketone bodies are precursors for a toxic metabolite called methylglyoxal. A study conducted at the Dartmouth Hitchcock Medical Center revealed a 2-fold increase in the levels of methylglyoxal in people on a ketogenic diet. This molecule induces oxidative DNA damage and also alters protein structure and functions resulting in damage of various tissues and blood vessels.

Ketosis has also been associated with mild euphoria. At the beginning of the diet, people often experience a feeling of well-being. This has been attributed to the increased levels of BHB, which is an isomer of gamma hydroxybutyrate (GHB), popularly known as liquid ecstasy or the date rape drug. GHB is also naturally present in our body and plays a major role in neurotransmission. A detailed study of the effects of BHB and GHB has shown that BHB indirectly induces GHB-like effects but with a lesser intensity.

If a low-carb high protein diet program continues for a long time, it may lead to other health complications. A high protein diet leads to high uric acid levels, and hence has been identified as a risk factor for gout and kidney stones. Moreover, the excretion of these acids through urine requires calcium. Hence, an increased acid level corresponds to increased calcium excretion, which alters the bone density and poses the risk of calcium deficiency and osteoporosis. Ketosis has also been associated with heart palpitations.

Diabetics and Ketosis

Type 1 diabetes is characterized by the inability to utilize glucose as an energy source due to a lack of required insulin levels. The body responds to this state by utilizing the fat reserves to fulfill the energy requirements and by increasing glucose levels in blood. The obvious outcome of this is high levels of ketones in blood and urine to an extent that the acid-base balance in urine also disrupts. Such condition characterized by high glucose levels, acidic urine and high ketone levels is known as Diabetic Ketoacidosis (DKA). Type 2 diabetes is characterized by insulin resistance and rarely leads to DKA. A ketogenic diet is best avoided by diabetics.

Ketosis during Pregnancy
After the 12th week of pregnancy, a state of insulin resistance is observed which leads to breakdown of body fat. This helps the developing fetus in two ways: glucose is spared for the fetus and the maternal ketones serve as an additional energy source. Therefore, it is normal to observe ketone bodies in urine. However, a ketogenic diet should be followed only with the consent of the expert since it may cause premature birth, still birth or abnormalities in the fetal development.

The effects of ketosis are different for every individual. Some people have the natural ability to deal with them but others may not be able to cope up with the changes associated with it. Diabetics, and people with liver and kidney diseases should definitely avoid a low carbohydrate and high fat or high protein diet. Therefore, at any point of time, if dieters feel that they are unable to tolerate these effects, they should abandon the diet program immediately.

Bad Breath from Ketosis

Ketone bodies or ketones are water-soluble chemical compounds which are produced as a by-product of fat metabolism. Ketosis is nothing but a phase of metabolism where the body breaks down fat for energy. Though ketone bodies are always present in our body, being in a stage of ketosis can sometimes be a cause of serious concern. Halitosis, which is commonly known as bad breath, is just one of the many symptoms of ketosis. Let's find out the connection between ketosis and offensive mouth odor.


Under normal circumstances, our body uses glucose or carbohydrates to meet its energy requirements. In case of people following a ketogenic diet, the body has to switch over to the stored body fat or dietary fat sources for obtaining energy. Thus, the process of fat metabolism involves the generation of energy in the form of ATP along with molecules called ketones. Ketosis breath, also referred to as hunger breath, is one of the many symptoms of ketosis.

Why Does Ketosis Cause Halitosis?

Ketosis is basically a crisis reaction that takes place when the glycogen stores in the liver run out. People who embark on a low carb diet for losing weight are most likely to suffer from certain side effects. One such side effect is bad smelling breath. Bad breath from ketosis is caused due to elevated levels of ketones in the bloodstream. The high levels of ketone bodies raises the pH of the blood. In an attempt to bring the pH level down, the body tries to get rid of ketone bodies through lungs and urine, and this causes unpleasant mouth odor. One may also experience symptoms such as headaches, abdominal pain, nausea, fatigue, dizziness or a metallic taste in mouth.

Remedies for Unpleasant Mouth Odor

Since many low carb diets are diuretic in nature, those following such diet plans might end up getting dehydrated. Dehydration could give rise to dry mouth and cause bad smelling breath. Since dry mouth is one of the common causes of unpleasant mouth odor, increasing your water intake would help. You must drink at least 8 glasses of water daily. Since excessive consumption of alcohol and tobacco can lead to dryness of mouth, these must be avoided.

If bad smelling breath has become a cause of serious concern for you, you can also start including carbohydrates to your diet. This might help in bringing the level of ketones down and help in lowering the pH levels of the blood. Since bad mouth odor can be caused due to a variety of reasons, you must try to ascertain the underlying cause. Dental problems such as dental decay, gum diseases, formation of plaque and infections on the tonsils, throat infections, diabetes mellitus, gastrointestinal problems, sinusitis and anemia are some of the conditions that may be responsible for causing an offensive mouth odor. You must find out if you are suffering from any of these conditions.

It's possible that a lack of dental care is responsible for causing bad breath. Therefore, you must take care of your dental health. Brush your teeth and floss regularly. Using a hydrogen peroxide mouthwash will also help. You can also try certain home remedies for treating halitosis. Chewing sugar-free gum, fresh parsley or green cardamom seeds might also prove beneficial. Drinking unsweetened green tea might also prove beneficial.

If you are following a low carb diet plan, you can also use ketosis strips to find out if you are actually suffering from ketosis or not. These strips are readily available in the market and can be used for testing the urine for ketone bodies. If the color of the strips changes to a dark purple, it is indicative of high levels of ketone bodies. You can either include small amounts of carbohydrates to your diet or follow the aforementioned remedies to prevent halitosis.

Bad Breath and Acid Reflux

There are several causes of bad breath like poor oral hygiene, dry mouth which is caused by breathing through mouth, dehydration, sinus infection, respiratory tract infection, smoking, as well as eating pungent foods like garlic, coffee, onion and certain varieties of fish. Most of these causes of bad breath are easily curable, but bad breath from acid reflux is a little more difficult to cure. It is very important to understand the connection between acid reflux and bad breath, if you want to get rid of the latter.


How does Acid Reflux Cause Bad Breath?

Acid reflux or GERD (gastroesophageal reflux disease) is a condition, in which the fluid contents of the stomach flow back or reflux into the esophagus. This occurs when the lower esophageal sphincter, which is a kind of valve between the esophagus and the stomach does not work properly. When the valve does not close tightly, the regurgitated contents of the stomach, generally containing acid and pepsin, an enzyme that starts digestion of protein in the stomach, pushes up into the esophagus, and we can feel the acid reach the back of our throat. It is this, that causes the sensation of heartburn.

The contents of the stomach are in an acidic environment, so that the food ingested can be broken down for digestion. If sufficient time has elapsed since the consumption of food, the stomach contents return into the esophagus, with a repellent smell like in case of vomit, pointing to a link between acid reflux and bad breath. Bacteria and other enzymes also come from the stomach, along with the acid, and contribute to the foul odor. This unpleasant odor reaches the throat and mouth causing bad breath. The problem is compounded when we eat onion, garlic or spicy food. Bad breath due to acid reflux is more difficult to control, as no amount of mint and mouth freshener is of any help. The only way to banish the bad breath due to acid reflux, is to completely get rid of this condition.

When a person is suffering from acid reflux, the contents of the stomach, which are acidic in nature, repeatedly, come in contact with the delicate lining of the esophagus. When this occurs, over a period of time, the lining of the esophagus gets damaged. Due to this continuous contact of the acidic fluid, the tissue lining does not get enough time to heal entirely and dead tissue is produced. This dead tissue accumulates over time and has an unpleasant odor, which in turn results in bad breath.

Cure for Bad Breath from Acid Reflux
One of the ways to cure bad breath from acid reflux, is to make some changes in one's diet. One might not like the idea of giving up on spicy food altogether, but they can, sometimes, cause bad breath as well as acid reflux. If we don't want to completely eliminate these foods from our diet, we should at least try cutting down their consumption. The stomach produces that much acid, as is required to digest food at that moment. If more food is present, more acid is required. So, portion control is very important. If you're having a spicy, juicy piece of steak, just reduce the portion. Another way to prevent acid reflux is to drink sufficient amount of water throughout the day. This aids in the digestion process.

Some other natural cures for bad breath from acid reflux, include consuming orange peel extract, fennel seeds and parsley. Chewing star anise is also said to cure the bad breath. Whatever natural cure you are considering, always seek the advice of a qualified doctor before using it.

One way to check if one is suffering from bad breath is to lick the back of your hand and let it dry for a few minutes and then smell it. If there is an unpleasant odor, then you're suffering from bad breath.

Best Cure for Halitosis

Bad breath, which is medically referred to as halitosis, can surely be a cause of social embarrassment. The offensive odor does make the people one is interacting with quite uncomfortable. The body language of those around you changes and you find them excusing themselves right after you come near them and talk. This is surely a very frustrating situation which can ruin your social life and must be treated soon. Well, before we move on to ways to treat bad breath, let's first find out what causes bad breath.


Causes of Bad Breath

If you don't brush your teeth regularly, you give an open invitation to bacteria. These bacteria act on the food debris stuck in your teeth and cause bad breath. Halitosis is generally classified into transient and chronic halitosis. Once you brush your teeth, the transient bad breath goes away. We generally experience transient bad breath when we wake up in the morning. Consumption of foods such as garlic and onions is also a common cause of transient bad breath. Those who indulge in excessive consumption of alcohol and tobacco are also likely to suffer from bad breath. Dental problems such as dental decay, gum diseases, formation of plaque and infections on the tonsils can also give rise to this problem. An offensive mouth odor could also be attributed to throat infections, diabetes mellitus, gastrointestinal problems, sinusitis and anemia. Those who wear braces are also likely to suffer from halitosis.

Remedies for Bad Breath

How can one get rid of bad breath? Is it curable? Well, for treating bad breath, you need to pay attention to the aspect of dental hygiene. Chronic halitosis is surely a very discomforting situation which ruins your social life, therefore, you must take preventive measures. Make sure that you brush your teeth after every meal. Avoid excessive consumption of onions, garlic and alcohol. At times, bad breath may be caused due to dental problems. If you are suffering from tooth infections, gum problems, plaque or a periodontal disease, consult a dentist soon. Those who wear braces must make sure that they brush their teeth properly. You must floss your teeth and clean your tongue with a tongue cleaner daily. Make sure that you rinse your mouth with a hydrogen peroxide mouthwash.

It has been seen that dryness of mouth can give rise to bad breath, therefore, drink plenty of fluids. Since excessive consumption of alcohol and tobacco can make your mouth dry, these must be avoided. You can also add a pinch of baking soda to a glass of water and use it as a mouthwash. Chewing green cardamom seeds or fresh mint leaves is one of the best halitosis remedy. Fruits such as apples, sweet lime and unripe guava are also helpful in treating bad breath. Drinking tea made from fenugreek seeds is also an effective remedy. For making this tea, add a teaspoon of fenugreek seeds in half a liter of water. Heat it on a low flame for about fifteen minutes. Strain it and drink it twice daily. You can also try another remedy. Add finely chopped sprigs of parsley to two cups of water. Add a pinch of ground cloves to it and put it on a flame. Once it starts boiling, remove it from the flame and let it cool. Strain it and gargle with it daily. If you are suffering from chronic bad breath, you must follow a dental hygiene regimen. If these home remedies don't seem to help and you still find yourself struggling with the problem of chronic bad breath, consult a dentist for the best halitosis cure.

If bad breath is causing you a great deal of embarrassment, you must start paying attention to dental care. Since dental problems and a lack of dental hygiene are mainly responsible for causing bad breath, those suffering from chronic halitosis must consult a dentist immediately.

Arduino JTAG Finder Workshop Tutorial

Step by step
Step 1: Download
zoobab@gierek /home/zoobab/soft [44]$ wget http://zoobab.wikidot.com/local--files/jtag-finder/jtagscan.tar.bz2
--2009-06-08 21:01:08--  http://zoobab.wikidot.com/local--files/jtag-finder/jtagscan.tar.bz2
Resolving zoobab.wikidot.com... 67.228.37.26
Connecting to zoobab.wikidot.com|67.228.37.26|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://zoobab.wdfiles.com/local--files/jtag-finder/jtagscan.tar.bz2 [following]
--2009-06-08 21:01:09--  http://zoobab.wdfiles.com/local--files/jtag-finder/jtagscan.tar.bz2
Resolving zoobab.wdfiles.com... 67.228.37.28
Connecting to zoobab.wdfiles.com|67.228.37.28|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18458 (18K) [application/x-bzip2]
Saving to: `jtagscan.tar.bz2'

100%[================================================================================================================================>] 18,458      35.3K/s   in 0.5s    

2009-06-08 21:01:11 (35.3 KB/s) - `jtagscan.tar.bz2' saved [18458/18458]
Step 2: Untar
zoobab@gierek /home/zoobab/soft [46]$ tar -xvjf jtagscan.tar.bz2
jtagscan/
jtagscan/relocations.avr
jtagscan/jtagscan.glade
jtagscan/avr/
jtagscan/avr/jtagscan-avr.c
jtagscan/avr/Makefile
jtagscan/avr/jtagscan-avr.hex
jtagscan/avr/COPYING
jtagscan/Makefile
jtagscan/TODO
jtagscan/README
jtagscan/COPYING
jtagscan/jtagscan.c
Step 3: Go to jtagscan/avr directory
zoobab@gierek /home/zoobab/soft/jtagscan [49]$ l
total 80
drwxr-xr-x 2 zoobab zoobab 4096 2006-05-31 19:14 avr
-rw-r--r-- 1 zoobab zoobab 18007 2006-05-31 18:47 COPYING
-rw-r--r-- 1 zoobab zoobab 11124 2006-05-31 19:20 jtagscan.c
-rw-r--r-- 1 zoobab zoobab 28527 2006-05-28 20:08 jtagscan.glade
-rw-r--r-- 1 zoobab zoobab 115 2006-05-28 20:35 Makefile
-rw-r--r-- 1 zoobab zoobab 76 2006-05-31 18:46 README
-rw-r--r-- 1 zoobab zoobab 81 2006-05-25 15:14 relocations.avr
-rw-r--r-- 1 zoobab zoobab 686 2006-05-30 08:43 TODO
zoobab@gierek /home/zoobab/soft/jtagscan [50]$ cd avr/
zoobab@gierek /home/zoobab/soft/jtagscan/avr [51]$ l
total 40
-rw-r--r-- 1 zoobab zoobab 18007 2006-05-31 18:47 COPYING
-rw-r--r-- 1 zoobab zoobab 5270 2006-05-31 19:17 jtagscan-avr.c
-rw-r--r-- 1 zoobab zoobab 4530 2006-05-30 22:40 jtagscan-avr.hex
-rw-r--r-- 1 zoobab zoobab 316 2006-05-28 20:37 Makefile
Step 4: Install gcc-avr and avr-libc
zoobab@gierek /home/zoobab/soft/jtagscan/avr [56]$ sudo apt-get install avr-libc gcc-avr
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
task-c-devel gcc-doc gcc-4.2
The following NEW packages will be installed:
avr-libc gcc-avr
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/8906kB of archives.
After this operation, 32.7MB of additional disk space will be used.
Selecting previously deselected package gcc-avr.
(Reading database ... 118728 files and directories currently installed.)
Unpacking gcc-avr (from .../gcc-avr_1%3a4.3.2-1_i386.deb) ...
Selecting previously deselected package avr-libc.
Unpacking avr-libc (from .../avr-libc_1%3a1.6.2.cvs20080610-2_all.deb) ...
Setting up gcc-avr (1:4.3.2-1) ...
Setting up avr-libc (1:1.6.2.cvs20080610-2) ...
Step 5: Make
zoobab@gierek /home/zoobab/soft/jtagscan/avr [57]$ make
avr-gcc -Wall -O3 -o jtagscan-avr -mmcu=atmega32 jtagscan-avr.c
avr-objdump -h -S jtagscan-avr > jtagscan-avr.lst
avr-objcopy -j .text -j .data -O ihex jtagscan-avr jtagscan-avr.hex
Step 6: Port it from ATMega32 to ATMega328
/***************************************************************************
* jtagscan-avr.c
*
* Wed May 31 18:57:23 2006
* Copyright 2006 Benedikt 'Hunz' Heinz
* jtagscan at hunz.org
* $Id: jtagscan-avr.c,v 1.1 2006/05/31 17:17:50 hunz Exp $
****************************************************************************/

/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Library General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/

#include
#include

void uart_init(void) {
UBRR0L = UBRR0H = UCSR0A = 0;
UCSR0B = ((1<>3] |= (1<<(pins[0]&7)); iocfg[pins[1]>>3] |= (1<<(pins[1]&7)); iocfg[pins[2]>>3] |= (1<<(pins[2]&7)); GPIOR1 = iocfg[0]; DDRB = iocfg[1]; DDRC = iocfg[2]; DDRD = iocfg[3]; GPIOR2 = iocfg[4]; PORTB = iocfg[5]; PORTC = iocfg[6]; PORTD = iocfg[7]; } uint8_t shifts[32], matches[32]; #define SHIFT_TMS 0 #define SHIFT_TDI 0x10 void shift(uint8_t data, uint8_t len) { uint8_t cnt, tck_port,tck_pin,port,pin; uint8_t delay, inp=0, count_matches = len & SHIFT_TDI; if(len&SHIFT_TDI) { port=pins[TDI_PIN]>>3;
pin=pins[TDI_PIN]&7;
}
else {
port=pins[TMS_PIN]>>3;
pin=pins[TMS_PIN]&7;
}

tck_port=pins[TCK_PIN]>>3;
tck_pin=pins[TCK_PIN]&7;

len&=0x0f;

/* shift */
while(len--) {

/* TCK=0 */
if(tck_port == 0)
GPIOR1 &= ~(1<>3) == 0)
inp=GPIOR2;
else if((cnt>>3) == 1)
inp=PINB;
else if((cnt>>3) == 2)
inp=PINC;
else
inp=PIND;
}

shifts[cnt]>>=1;
shifts[cnt]|= (inp&1)<<7 data-blogger-escaped-inp="">>=1;

//if(cnt == pins[TDI_PIN])
//uart_tx(shifts[cnt]);

if( (shifts[cnt] == cfg[CFG_TDIBITS]) && (matches[cnt]<255 data-blogger-escaped-0="" data-blogger-escaped-1="" data-blogger-escaped-2="" data-blogger-escaped-cnt="" data-blogger-escaped-count_matches="" data-blogger-escaped-data="" data-blogger-escaped-delay="" data-blogger-escaped-else="" data-blogger-escaped-gpior1="" data-blogger-escaped-if="" data-blogger-escaped-matches="" data-blogger-escaped-portb="" data-blogger-escaped-portc="" data-blogger-escaped-portd="" data-blogger-escaped-tck="1" data-blogger-escaped-tck_pin="" data-blogger-escaped-tck_port="=">>= 1;
}

}

void scan() {
uint8_t cnt;

for(cnt=0;cnt<32 data-blogger-escaped-0x7f="" data-blogger-escaped-back="" data-blogger-escaped-cfg="" data-blogger-escaped-cnt="" data-blogger-escaped-for="" data-blogger-escaped-get="" data-blogger-escaped-if="" data-blogger-escaped-int="" data-blogger-escaped-into="" data-blogger-escaped-ir="" data-blogger-escaped-jtscan="" data-blogger-escaped-main="" data-blogger-escaped-matches="" data-blogger-escaped-pins="" data-blogger-escaped-reset="" data-blogger-escaped-results="" data-blogger-escaped-send="" data-blogger-escaped-shift="" data-blogger-escaped-shifts="" data-blogger-escaped-state="" data-blogger-escaped-the="" data-blogger-escaped-uart_init="" data-blogger-escaped-uart_tx="" data-blogger-escaped-uint8_t="" data-blogger-escaped-val="" data-blogger-escaped-void="" data-blogger-escaped-while="" data-blogger-escaped-x1f="" data-blogger-escaped-x5f="" data-blogger-escaped-x80="">> 2);
pins[2] = uart_rcv();

pins[1] = (val & 3) << 3; pins[1] |= (pins[2] >> 5);

pins[2] &= 0x1f;

set_ios();

scan();
}

/* config */
else if(val == 0x40) {

for(val=0; val < CFG_LEN; val++) cfg[val] = uart_rcv(); uart_tx(0x40); } else if(val == 0x00) { GPIOR1 = uart_rcv(); DDRB = uart_rcv(); DDRC = uart_rcv(); DDRD = uart_rcv(); uart_tx(0); } else if(val == 0x01) { GPIOR2 = uart_rcv(); PORTB = uart_rcv(); PORTC = uart_rcv(); PORTD = uart_rcv(); uart_tx(1); } else if(val == 0x02) { uart_tx(GPIOR0); uart_tx(PINB); uart_tx(PINC); uart_tx(PIND); } /* TODO: TMS / TDI / get TDO / direct IO */ } /* loop */ return 0; }
zoobab@gierek /home/zoobab/soft/jtagscan/avr [59]$ l
total 76
-rw-r--r-- 1 zoobab zoobab 18007 2006-05-31 18:47 COPYING
-rwxr-xr-x 1 zoobab zoobab 5823 2009-06-08 21:05 jtagscan-avr
-rw-r--r-- 1 zoobab zoobab 5270 2006-05-31 19:17 jtagscan-avr.c
-rw-r--r-- 1 zoobab zoobab 4403 2009-06-08 21:05 jtagscan-avr.hex
-rw-r--r-- 1 zoobab zoobab 28373 2009-06-08 21:05 jtagscan-avr.lst
-rw-r--r-- 1 zoobab zoobab 316 2006-05-28 20:37 Makefile
zoobab@gierek /home/zoobab/soft/jtagscan/avr [60]$ file ./jtagscan-avr
./jtagscan-avr: ELF 32-bit LSB executable, Atmel AVR 8-bit, version 1 (SYSV), statically linked, not stripped
Step 7: install libglade2-dev
zoobab@gierek /home/zoobab/soft/jtagscan [34]$ sudo apt-get install libglade2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
glade glade-gnome
The following NEW packages will be installed:
libglade2-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/85.8kB of archives.
After this operation, 545kB of additional disk space will be used.
Selecting previously deselected package libglade2-dev.
(Reading database ... 124542 files and directories currently installed.)
Unpacking libglade2-dev (from .../libglade2-dev_1%3a2.6.4-1_i386.deb) ...
Processing triggers for doc-base ...
Processing 1 added doc-base file(s)...
Registering documents with scrollkeeper...
Processing triggers for man-db ...
Setting up libglade2-dev (1:2.6.4-1) ...
Step 9: Flash the Arduino with avrdude

You need avrdude version 5.6 at the minimum if you have an Arduino with an ATmega328p.
root@gierek /home/zoobab/soft/jtagscan/avr [23]# avrdude -p m328p -P /dev/ttyUSB0 -c stk500v1 -b 57600 -F -u -U flash:w:jtagscan-avr.hex

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.05s

avrdude: Device signature = 0x1e950f
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "jtagscan-avr.hex"
avrdude: input file jtagscan-avr.hex auto detected as Intel Hex
avrdude: writing flash (1742 bytes):

Writing | ################################################## | 100% 0.87s

avrdude: 1742 bytes of flash written
avrdude: verifying flash memory against jtagscan-avr.hex:
avrdude: load data flash data from input file jtagscan-avr.hex:
avrdude: input file jtagscan-avr.hex auto detected as Intel Hex
avrdude: input file jtagscan-avr.hex contains 1742 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.74s

avrdude: verifying ...
avrdude: 1742 bytes of flash verified

avrdude done. Thank you.
Arduinull

LeKernel rewrote the whole thing with Arduinull (arduinull.c, arduinull.hex, Makefile). You can access the terminal of the application with GtkTerm or minicom over /dev/ttyUSB0. You can connect the 4 pins of the arduino analog connector (the 6 pins) and do not forget to connect the ground with one pin from the neighboor connector. Put some resistors (value XXX ohms) between the pins of the board you think they might be JTAG and the arduino pins. More screenshots coming soon.

Search JTAG pinouts for PANTECH UM190 modem

On opening the modem is easy to detect a fairly large number of contact pads.

Appearance modem board
Looking closely to them at once can be dropped four of them, the two joined together and the two are connected to “ground”.

Schematically sketched the location of contacts
Turn on the modem we explain the presence of findings ps_hold and or reset. When you tap a contact terminal TEST restarts the modem.

Determining the ps_hold and reset method of "spear"
In this case, the modem reboots when you touch just one output, usually two.

Marked on the paper output resets the modem
You can now soldered to the remaining contacts modem and start auto search.

You can now soldered to the remaining contacts modem and start auto search.
Trying to find pinout when the modem was not successful. Most likely a modem software disables the JTAG interface, so you should try to find pinout before the modem firmware will disable the JTAG.

At the time of withdrawal and the power supply to the modem client program can generate false detection alert pinouts, it is normal in mind the conclusions of the instability of states at the moment when the modem. In this case, false messages look like this:

False pinout at the time of power off
False pinout at the time of power on
The number of false piouts may vary in this case, there were about 4-5.

While the modem continues to load, and at this point is the detection of the correct pinouts, as judged by read by the CPU ID CODE.
Correct pinout defined at boot time the modem


Sketched the location of the findings can be confirmed whether the output device found RTCK or number 1 was assigned to him by default. To do so, resolder SPT Board findings to the modem so that the number corresponding to the output pin TDO was the maximum (in our case it was and is the seventh number of the seven involved findings), and display a contact number for this RTCK was greater than 1.

Correct pinout including contact RTCK
Note the remaining data in the paper. Work to determine the pinouts over.

The final version of pinouts

JTAG pinout detector

JTAG is a standard for device testing ports found on the PCBs of many devices. Finding the pads and pinouts for these ports allows hackers to gain access to the embedded systems, their on-board debugging tools, etc., effectively providing a back door. But determining the JTAG pinouts can be a time-consuming and frustrating process.


To help in this, a German hardware hacker named Hunz has created the JTAG Finder, an automatic JTAG pin-out detector, using an 8bit AVR ATmega16/32L microcontroller. Details of the project, and a call for others to get involved, can be found on the JTAG Finder wiki. He also wants to build a JTAG Found database of known device pinouts.

JTAG Finder – [via] Link

Apr 3, 2013

5 Foods High in Omega-3

One of the biggest buzzwords in healthy eating is omega-3. You can see it featured on cereal boxes and in TV commercials. What is omega-3, and why is it important? The answer is simple: It’s one type of fat you can’t live without.


Omega-3 fatty acids are a category of polyunsaturated fats that help maintain the cell membranes for every cell in your body. Like other fatty acids, omega-3 is a collection of nutrients you consume with your food. You can get the omega-3 you need in your diet from certain nuts, fruits, vegetables and coldwater fish. Research has shown that omega-3s can also help reduce the symptoms of high blood pressure, depression, ADHD and joint problems.

Omega-6 fatty acids are also essential polyunsaturated fats. They help support healthy skin and the ability of the blood to clot. You can get your omega-6s in eggs, chicken and plant oil products like vegetable oil, corn oil and margarine. Too many omega-6s, though, can increase your chance of heart attack or stroke. You can reduce that negative impact by balancing the omega-6s with a significant amount of omega-3s.

The latest research suggests that a healthy ratio between these fatty acids is one part omega-3s for every two to four parts omega-6s. The National Institutes of Health say that the typical American diet is a ratio of about 1 part omega-3s to 10 parts omega-6s. The significant difference in these ratios (1:2-1:4 and 1:10) reveals one possible reason heart disease is so prevalent in the United States.

Despite these compelling ratios, the research is still going on to find a recommended daily allowance value for omega-3s. Researchers and physicians seem to vary in their own recommendations. These recommendations cite specific omega-3s eicosapentaenoic acid (EPA), docosahexaenoic acid (DHA) and alpha-linoleic acid (ALA). The World Health Organization (WHO) recommends 300 to 500 milligrams daily of EPA and DHA, and 800 to 1,100 milligrams daily of ALA.

Omega-3 fatty acids are often associated with fish, but the best source may surprise you. It is important to know that there are other sources of omega-3 besides fish. This article covers the top five food sources that are highest in omega-3.

Winter Squash

Before the Americas were settled by Europeans, Native Americans depended on squash among other nutritional foods in their diet. Today, squash and its seeds are still an integral part of Central and South American cuisines, and countries around the world are following their lead. With nutrition research revealing that winter squash has a lot to offer a healthy diet, it’s sure to be a popular choice for years to come.


Summer squash, like zucchini and yellow squash, are soft and light, and they’re a popular vegetable during the summer growing season. Winter squash is denser and drier with a nutty flavor that we’ve come to associate with autumn and winter dishes. That density corresponds with a higher concentration of nutrients. Some varieties of winter squash are pumpkins, butternut squash, acorn squash, spaghetti squash and the visually unique turban squash.

A cup (205 grams) of spaghetti squash, boiled or baked, has almost 121 milligrams total omega-3 fatty acids, or 12 percent of today’s daily recommendations. It’s one of the higher sources among the winter squash, with acorn coming in at 76 milligrams and butternut at 49 milligrams. The list of vitamins and minerals goes on for winter squash, too, making it an excellent addition to any meal.

You can find hundreds of recipes online featuring one or more varieties of winter squash. Use caution when working with a fresh winter squash, however: It’s very firm and challenging to cut through. Be prepared with a sturdy cutting surface and a large sharp knife, and take care when applying the pressure needed to cut it. Several experienced cooks have posted their cutting tips online, including videos on YouTube.

Soybeans and Tofu

Chinese farmers first planted and harvested soybeans more than 3,000 years ago. It grew in use throughout Southeast Asia over the centuries that followed. Even today, we associate many soy products like soy sauce, bean sprouts and tofu with Asian cuisine. However, the soybean made its way around the world. In fact, the North Carolina Soybean Producers Association says today’s largest producers of soybeans are the United States, Brazil and Argentina.


Soybeans are earning a wonder-crop status. Products you might use that are made from soybeans include commercially prepared foods, livestock feed and composites for industrial use. Adding to its long list of accolades is soybean’s nutritional value as a food, including as a source of omega-3s.

A cup of edamame (boiled soybeans) has almost 1,029 milligrams total omega-3 fatty acids, or almost all the omega-3s you need daily. Though the edamame has more than 7,600 milligrams of omega-6s, exceeding the recommended 1:2-1:4 ratio, it’s very low in cholesterol and packs a punch with its vitamins and minerals. A serving of edamame gives you 41 percent of your daily recommended allowance of fiber, 49 percent of iron and 18 percent of calcium. Plus, soybeans are an excellent source of protein, Vitamin K and folate.

Besides edamame and tofu, there are other ways to get the benefits of soy in your diet. One way is to substitute some foods you’d normally eat with soy alternatives. For example, you could replace dairy milk with soy milk, or replace potato chips with soy chips. Another way to enjoy soybeans is as a dry-roasted snack called soy nuts. Soy nuts are plain, salted or flavored, and you can often find them with nut snacks at larger grocery stores and niche grocers that specialize in healthy foods.

Walnuts

There are many varieties of walnut trees around the world. The three most common walnut varieties in the United States are the butternut (white walnut), the Carpathian English walnut and the black walnut. Though all three varieties produce tasty nuts, the black walnut tree is the most popular for both its nuts and its wood.


Among nuts, black walnuts are some of the most nutritious. A cup of chopped walnuts has 2,508 milligrams total omega-3 fatty acids. Like soybeans, walnuts are a good daily source of fiber (34 percent), protein (60 percent) and iron (22 percent), and they’re low in cholesterol. Also like soybeans, the ratio between omega-6s and 3s exceeds the recommended 1:2-1:4 ratio. So, with walnuts, as with any other food, consider all the nutritional pros and cons when working them into your diet.

Besides their overall nutritional benefits, another thing that proves walnuts are a great omega-3 choice is their convenience. Just an ounce of walnuts contains 562 milligrams of omega-3s, or half the amount you need in a whole day. You can drop that in a snack bag to take with you or use it to top a salad or yogurt.

If you’re trying to stay healthy while adding omega-3s, choose your walnut sources carefully. Commercially packaged foods and recipes that include walnuts range from healthy salads and trail mixes to delicious high-calorie desserts. Don’t let the omega-3 hype keep you from looking at all the other important health considerations for each food.

Salmon and Other Fish

One of the most popular sources of omega-3s, and one of the easiest to add to your diet, is fresh fish. Salmon is perhaps the most popular and versatile of these fish, and one of the highest in omega-3s. Sardines, halibut and herring are also great omega-3 sources. Shellfish like shrimp, crab, scallops and oysters also put up some impressive omega-3 numbers.


A 3-ounce serving of raw Chinook salmon has 1,991 milligrams of omega-3 fatty acids. That’s well above even the highest recommended amounts. Plus, unlike soybeans and tofu, the omega-3s far outnumber the omega-6s (only 104 milligrams). This means you can add salmon to your diet not only as a source of omega-3s, but also to help balance the omega-6s you’re already eating. This same serving of salmon is a good source of protein plus several vitamins and minerals.

Are fish oil supplements a good substitute?

Omega-3 recommendations often feature 2 to 3 servings of cold-water fish per week, especially salmon. Fish oil supplements are recommended only as supplements for those who find it difficult to meet that recommendation. Fish oil supplements are often reported to irritate your stomach and leave a fishy aftertaste. If you take a fish oil supplement, reduce these unpleasant effects by taking it with a meal. There have been recent controversies about whether fish oil supplements have dangerous amounts of other ingredients like polychlorinated biphenyl (PCB).

When eating salmon for its omega-3 benefits, be cautious of how you cook it. The omega-3s are easily damaged by oxygen, light and heat. That damage affects salmon’s nutritional benefits. Eating the salmon fresh-sliced at a sushi bar is the best way to avoid omega-3 damage. If you’re not a fan of raw fish, though, bake or broil the fish instead of frying it to limit the heat exposure.

Flax Seed

By far, your best omega-3 source is flax seed, also called linseed. It’s derived from the flax plant, which some believe originated in Egypt where ancient Egyptians used it for food and medicine. Historically, it’s been used as a laxative. Today’s research, though, reveals it can be a great way to fight cholesterol and heart disease.


A tablespoon of ground flax seed has 1,597 milligrams of omega-3s, and the same amount of flax seed oil has a whopping 7,196 milligrams. That’s seven times today’s popular daily recommendations. Like salmon, flax seed and flax seed oil have far fewer omega-6s, making them a great omega-3 source to balance your omega-6 intake. Flax seed features the omega-3 alpha-linolenic acid (ALA). This is different from the EPA and DHA omega-3s found in fish. At the beginning of this article, you read that the World Health Organization recommended 300 to 500 milligrams of EPA and DHA to 800 to 1,100 milligrams of ALA. Your body can convert some ALA into EPA and DHA, but you’d need to take large amounts of flax seed for it to be a substitute for the omega-3s in fish.

Like salmon, the omega-3s in flax seed can be damaged with heat and oxygen. You can afford some damage, since flax seed is so high in omega-3s, but you should still minimize that damage as much as possible. To protect the omega-3s in flax seed oil, keep it in dark glass containers with a tight lid, and place it in the refrigerator or freezer. Also, avoid heating flax seed oil on the stove. Instead, add it to non-heated recipes like salad dressing, and toss it over food only after cooking it.

Apr 1, 2013

How-To Retrieve Huawei BM622 VoIP Password

First of all, login to the Huawei Echolife BM622 4G WiMAX wireless broadband modem router graphical user interface (gui) as usual open your favorite web browser e.g. IE, Safari, Firefox Seamonkey or any other similar browser will do, on the address bar type http://192.168.1.1 once login page appear your user account must be admin, used any password generator to provide your password.


On the left side menu click Basic to drop down the Sub-menu there you can see the VoIP setting as shown screenshot above, the SIP ID, VoIP username and password but it is mask. To be able for you to see the VoIP password in the plain text you can copy paste this link http://192.168.1.1/html/voip/sipbasic.asp on to your browser address bar to make your life easier this will result the source code in html on a new window.


This is a sample once you have clicked the link it will give you an output, now you can check the source code, to see the password in plain text, ctrl-f to search for SIP the (number) you will see now the (numeric-password).


This is how the Huawei Echolife BM622 4G WiMAX wireless broadband modem router once the VoIP username and password is valid it shows the status of the SIP services and the status. This tutorial of retrieving of VoIP password may also be applicable to other Huawei CPE that has VoIP features such as BM622i, BM622m, BM625 and others that has FXS port for plain old telephone system (POTS).